Enable svghmi plugin in features, and small fixes to skeleton. svghmi
authorEdouard Tisserant
Wed, 17 Jul 2019 09:44:11 +0200
branchsvghmi
changeset 2747 e96aa2e3231e
parent 2745 535eb0b8bd9d
child 2748 55c43933ff51
Enable svghmi plugin in features, and small fixes to skeleton.
features.py
svghmi/svghmi.py
--- 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):
         """