Commit 1e91337b authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Dont flatten the SDL model when rendering statechart

Now the statechart renderer supports nested states!
parent ac6f19e8
......@@ -264,7 +264,7 @@ class sdlHandler(QObject):
self.proc = root_ast.processes[0]
except IndexError:
raise IOError('SDL Handler failed to initialize')
opengeode.Helper.flatten(self.proc)
#opengeode.Helper.flatten(self.proc)
graph = opengeode.Statechart.create_dot_graph(self.proc, basic=True)
self.sdl_scene = opengeode.SDL_Scene('statechart')
self.sdl_view = opengeode.SDL_View(self.sdl_scene)
......
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