Fix bug in DebugVariablePanel graphics not reset when program is restart
authorLaurent Bessard
Wed, 16 Jan 2013 22:35:06 +0100
changeset 903 e70daa8bca85
parent 902 ffa8ee5ee2fe
child 904 73f6333d50a4
Fix bug in DebugVariablePanel graphics not reset when program is restart
controls/DebugVariablePanel.py
--- a/controls/DebugVariablePanel.py	Tue Jan 15 10:57:06 2013 +0100
+++ b/controls/DebugVariablePanel.py	Wed Jan 16 22:35:06 2013 +0100
@@ -761,6 +761,8 @@
         return [item.GetVariable() for item in self.Table.GetData() if item.GetAxis3D()]
     
     def ResetGraphicsValues(self):
+        self.Ticks = numpy.array([])
+        self.StartTick = 0
         for item in self.Table.GetData():
             item.ResetData()