Commit 2f5fe85b authored by Georgios Dagkakis's avatar Georgios Dagkakis

Source fix so that it does not send signals if there is no need to

parent 3dccd7df
......@@ -131,8 +131,11 @@ class Source(CoreObject):
if self.entityCreated.signalparam:
self.appendEntity(self.entityCreated.signalparam)
self.entityCreated.signalparam=None
if self.signalReceiver():
continue
# if self.signalReceiver():
# continue
if len(self.getActiveObjectQueue())==1:
if self.signalReceiver():
continue
# otherwise, if the receiver requests availability then try to signal him if there is anything to dispose of
if self.canDispose.signalparam:
self.canDispose.signalparam=None
......
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