instar-robotics / papyrus

Papyrus is the front end GUI that generates neural scripts that can be executed by kheops
GNU General Public License v3.0
1 stars 0 forks source link

Factor code duplication between diagramscene.cpp and xmlscriptreader.cpp for the creation of the visualizer #32

Open nschoe opened 5 years ago

nschoe commented 5 years ago

Currently, when creating a visualizer for a Function box in the diagramscene.cpp and re-creating the visualizer when parsing an XML script file in xmlscriptreader.cpp, there is an ugly code duplication.

We should factor it out.