# HG changeset patch # User Edouqrd Tisserant # Date 1301162123 -3600 # Node ID c5aec2269fb315a485a80020cc391e825ffa9b2b # Parent f88e0ebd8fe407172e495aa1ae4614e70390ba27 Fixed exception when forcing LD?contact. diff -r f88e0ebd8fe4 -r c5aec2269fb3 graphics/GraphicCommons.py --- a/graphics/GraphicCommons.py Tue Feb 22 17:05:07 2011 +0100 +++ b/graphics/GraphicCommons.py Sat Mar 26 18:55:23 2011 +0100 @@ -207,6 +207,9 @@ def SetValue(self, value): self.Value = value + def GetValue(self): + return self.Value + def SetForced(self, forced): self.Forced = forced @@ -1808,9 +1811,6 @@ block = self.StartConnected.GetParentBlock() block.SpreadCurrent() - def GetValue(self): - return self.Value - # Unconnect the start and end points def Clean(self): if self.StartConnected: