]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Multi-selection widget to be used in the extrusion feature.
authornds <natalia.donis@opencascade.com>
Wed, 18 Mar 2015 08:09:45 +0000 (11:09 +0300)
committernds <natalia.donis@opencascade.com>
Wed, 18 Mar 2015 08:09:45 +0000 (11:09 +0300)
Shape validator correction

src/SketchPlugin/SketchPlugin_ShapeValidator.cpp

index 2aca20171ee6a3eccf0ecd4e54047cb8c124c0dd..e1dacf811bc9702ef7eb0563741e86130ffce78b 100644 (file)
@@ -20,9 +20,6 @@ bool SketchPlugin_ShapeValidator::isValid(const AttributePtr& theAttribute,
     return true;
 
   // ask whether the feature of the attribute is external
-  //std::shared_ptr<SketchPlugin_Feature> aSketchFeature = 
-  //AttributeRefAttrPtr anAttribute = std::dynamic_pointer_cast<ModelAPI_AttributeRefAttr>(theAttribute);
-  //                               std::dynamic_pointer_cast<SketchPlugin_Feature>(aFeature);
   bool isAttributeExternal = isExternalAttribute(theAttribute);
 
   // ask whether the feature of the attribute by parameter identifier is external