Salome HOME
Issue 812:
[modules/shaper.git] / src / PartSet / PartSet_Module.h
index 956d0954474c662c827673932ab666d4ff6a9662..7135b7c9ba1695e8ede67ef25c6a5528afd99ead 100755 (executable)
@@ -4,6 +4,7 @@
 #define PartSet_Module_H
 
 #include "PartSet.h"
+#include "PartSet_Tools.h"
 
 #include <ModuleBase_IModule.h>
 #include <ModuleBase_Definitions.h>
@@ -305,7 +306,8 @@ protected:
   PartSet_CustomPrs* myCustomPrs;
   int myVisualLayerId;
 
-  bool myHasConstraintShown;
+  /// backup of the visible state to restore them by operation stop
+  QMap<PartSet_Tools::ConstraintVisibleState, bool> myHasConstraintShown;
 
   QModelIndex aActivePartIndex;
 };