--- a/graphics/SFC_Objects.py Tue Feb 26 15:16:30 2008 +0100
+++ b/graphics/SFC_Objects.py Tue Feb 26 15:32:19 2008 +0100
@@ -514,6 +514,8 @@
transition.SetPosition(pos.x, pos.y)
transition.Input = self.Input.Clone(transition)
transition.Output = self.Output.Clone(transition)
+ if self.Type == "connection":
+ transition.Condition = self.Condition.Clone(transition)
return transition
# Returns the RedrawRect
@@ -526,6 +528,8 @@
rect = rect.Union(self.Input.GetConnectedRedrawRect(movex, movey))
if self.Output.IsConnected():
rect = rect.Union(self.Output.GetConnectedRedrawRect(movex, movey))
+ if self.Type == "connection" and self.Connection.IsConnected():
+ rect = rect.Union(self.Condition.GetConnectedRedrawRect(movex, movey))
return rect
# Forbids to change the transition size