Skip to content

Commit

Permalink
added reset state action
Browse files Browse the repository at this point in the history
closes #16
  • Loading branch information
t3kt committed Jun 4, 2017
1 parent f5c2034 commit 1410e15
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 0 deletions.
Binary file modified components/module_shell.tox
Binary file not shown.
11 changes: 11 additions & 0 deletions lib/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,17 @@ def __init__(self, comp):
self.BodyPanel = comp.op('./body_panel')
self.ControlPanel = comp.op('./controls_panel')
self.ParameterMetadata = comp.op('./shell/parameter_metadata')
if not hasattr(comp.par, 'Resetstate'):
page = comp.appendCustomPage('Module')
page.appendPulse('Resetstate', label='Reset State')

def ResetState(self):
self._LogBegin('ResetState()')
try:
for child in self._SubModules:
child.ResetState()
finally:
self._LogEnd('ResetState()')

@property
def _HeaderHeight(self):
Expand Down
Binary file modified modules/delay_module.tox
Binary file not shown.
Binary file modified modules/edge_feedback_module.tox
Binary file not shown.
Binary file modified modules/feedback_module.tox
Binary file not shown.
Binary file modified modules/iterate_module.tox
Binary file not shown.
Binary file modified modules/magnets_module.tox
Binary file not shown.
Binary file modified modules/multi_tap_delay_module.tox
Binary file not shown.
Binary file modified modules/remap_module.tox
Binary file not shown.
Binary file modified modules/reproject_module.tox
Binary file not shown.
Binary file modified modules/time_machine_module.tox
Binary file not shown.
Binary file modified modules/trails_module.tox
Binary file not shown.
Binary file modified modules/transform_module.tox
Binary file not shown.
Binary file modified modules/video_particles_module.tox
Binary file not shown.
Binary file modified modules/warp_module.tox
Binary file not shown.
Binary file modified vjzual3.toe
Binary file not shown.

0 comments on commit 1410e15

Please sign in to comment.