Commit 30a9effb authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Rafael Monnerat

Split movement group shall...split.

Returning true allows to add movements to existing one, and this group shall
always separate them.
parent ea1e9520
...@@ -56,7 +56,7 @@ class SplitMovementGroup(MovementGroup): ...@@ -56,7 +56,7 @@ class SplitMovementGroup(MovementGroup):
return {} return {}
def test(self, document, property_dict, **kw): def test(self, document, property_dict, **kw):
return True, property_dict return False, property_dict
def _separate(self, movement_list, **kw): def _separate(self, movement_list, **kw):
return [[[movement], {}] for movement in movement_list] return [[[movement], {}] for movement in movement_list]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment