Salome HOME
Hide "by general equation" case for plane creation
[modules/shaper.git] / src / ModuleBase / ModuleBase_Tools.cpp
index a2c393658c6b0a5fd972593781b0df6a60dc9325..6639a548af29b5a294a5a29f05ff89e3db655e71 100644 (file)
@@ -112,11 +112,11 @@ void setSpinValue(QDoubleSpinBox* theSpin, double theValue)
 QString objectInfo(const ObjectPtr& theObj)
 {
   ResultPtr aRes = std::dynamic_pointer_cast<ModelAPI_Result>(theObj);
-  FeaturePtr aFeature;// = std::dynamic_pointer_cast<ModelAPI_Feature>(theObj);
+  FeaturePtr aFeature = std::dynamic_pointer_cast<ModelAPI_Feature>(theObj);
   QString aFeatureStr = "feature";
   if(aRes.get()) {
     aFeatureStr.append("(Result)");
-    //aFeature = ModelAPI_Feature::feature(aRes);
+    aFeature = ModelAPI_Feature::feature(aRes);
   }
   if (aFeature.get()) {
     aFeatureStr.append(QString(": %1").arg(aFeature->getKind().c_str()).toStdString().c_str());