# HG changeset patch # User Edouard Tisserant # Date 1563349451 -7200 # Node ID e96aa2e3231ed535d81d7826bc30e1ddc93d7868 # Parent 535eb0b8bd9d32c8ddbf1d6125c5f7358a99f66f Enable svghmi plugin in features, and small fixes to skeleton. diff -r 535eb0b8bd9d -r e96aa2e3231e features.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 = [] diff -r 535eb0b8bd9d -r e96aa2e3231e svghmi/svghmi.py --- 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): """