Просмотр исходного кода

Fixed rerendering of basic SCD models

Yentl Van Tendeloo 8 лет назад
Родитель
Сommit
74c8e166b4
3 измененных файлов с 4 добавлено и 1 удалено
  1. 1 0
      classes/canvas/canvas.xml
  2. 2 1
      frontend.py
  3. 1 0
      models/render_SCD.alc

+ 1 - 0
classes/canvas/canvas.xml

@@ -55,6 +55,7 @@
                     self.shift = {}
                     for l in self.lines:
                         self.delete(l)
+                    self.connecting_lines = {}
                 </script>
             </transition>
 

+ 2 - 1
frontend.py

@@ -1,7 +1,7 @@
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
-Date:   Wed Sep 27 16:45:58 2017
+Date:   Thu Sep 28 08:43:59 2017
 
 Model author: Yentl Van Tendeloo
 Model name:   Modelverse Visual Editor - Tkinter Version 
@@ -5735,6 +5735,7 @@ class Canvas(RuntimeClassBase, tk.Canvas, SCCDWidget):
         self.shift = {}
         for l in self.lines:
             self.delete(l)
+        self.connecting_lines = {}
     
     def _ready_1_exec(self, parameters):
         element = parameters[0]

+ 1 - 0
models/render_SCD.alc

@@ -45,6 +45,7 @@ Boolean function main(model : Element):
 					continue!
 
 			if (bool_not(dirty)):
+				dict_add(groups, class, group)
 				continue!
 			else:
 				related_groups = allAssociationDestinations(model, class, "TracabilityClass")