Salome HOME
Avoid redisplay of sketcher while it is not finished
[modules/shaper.git] / src / XGUI / XGUI_Tools.cpp
index 5cf560636b93be6c263d9eea048d6b664f0c32b6..5672163dcf06273e50eaa790bec519328784fb9b 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <TopoDS_Shape.hxx>
 #include <ModelAPI_Object.h>
+#include <GeomAPI_Shape.h>
 
 #include <QDir>
 
@@ -71,7 +72,7 @@ std::string featureInfo(FeaturePtr theFeature)
 }
 
 //******************************************************************
-FeaturePtr realFeature(const FeaturePtr theFeature)
+/*FeaturePtr realFeature(const FeaturePtr theFeature)
 {
   if (theFeature->data()) {
     return theFeature;
@@ -79,6 +80,7 @@ FeaturePtr realFeature(const FeaturePtr theFeature)
     ObjectPtr aObject = boost::dynamic_pointer_cast<ModelAPI_Object>(theFeature);
     return aObject->featureRef();
   }
-}
+}*/
+
 
 }