Enable svghmi plugin in features, and small fixes to skeleton.
--- a/features.py Fri Jul 12 11:58:22 2019 +0200
+++ b/features.py Wed Jul 17 09:44:11 2019 +0200
@@ -22,6 +22,7 @@
('c_ext', _('C extension'), _('Add C code accessing located variables synchronously'), 'c_ext.CFile'),
('py_ext', _('Python file'), _('Add Python code executed asynchronously'), 'py_ext.PythonFile'),
('wxglade_hmi', _('WxGlade GUI'), _('Add a simple WxGlade based GUI.'), 'wxglade_hmi.WxGladeHMI'),
- ('svgui', _('SVGUI'), _('Experimental web based HMI'), 'svgui.SVGUI')]
+ ('svgui', _('SVGUI'), _('Experimental web based HMI'), 'svgui.SVGUI'),
+ ('svghmi', _('SVGHMI'), _('SVG based HMI'), 'svghmi.SVGHMI')]
file_editors = []
--- a/svghmi/svghmi.py Fri Jul 12 11:58:22 2019 +0200
+++ b/svghmi/svghmi.py Wed Jul 17 09:44:11 2019 +0200
@@ -61,7 +61,6 @@
if from_project_path is not None:
shutil.copyfile(self._getSVGpath(from_project_path),
self._getSVGpath())
- return PythonFileCTNMixin.OnCTNSave(self, from_project_path)
def CTNGenerate_C(self, buildpath, locations):
"""