diff --git a/direct/src/interval/FunctionInterval.py b/direct/src/interval/FunctionInterval.py index 49c78ebcac..56f7249d61 100644 --- a/direct/src/interval/FunctionInterval.py +++ b/direct/src/interval/FunctionInterval.py @@ -67,8 +67,7 @@ class EventInterval(FunctionInterval): def sendFunc(event = event, sentArgs = sentArgs): messenger.send(event, sentArgs) # Create function interval - FunctionInterval.__init__(self, sendFunc, name = event, - openEnded = 0) + FunctionInterval.__init__(self, sendFunc, name = event) ### FunctionInterval subclass for accepting hooks ### class AcceptInterval(FunctionInterval): @@ -82,8 +81,7 @@ class AcceptInterval(FunctionInterval): if (name == None): name = 'Accept-' + event # Create function interval - FunctionInterval.__init__(self, acceptFunc, name = name, - openEnded = 0) + FunctionInterval.__init__(self, acceptFunc, name = name) ### FunctionInterval subclass for ignoring events ### class IgnoreInterval(FunctionInterval): @@ -97,8 +95,7 @@ class IgnoreInterval(FunctionInterval): if (name == None): name = 'Ignore-' + event # Create function interval - FunctionInterval.__init__(self, ignoreFunc, name = name, - openEnded = 0) + FunctionInterval.__init__(self, ignoreFunc, name = name) ### Function Interval subclass for adjusting scene graph hierarchy ### class ParentInterval(FunctionInterval):