From: nds Date: Wed, 27 May 2015 12:00:51 +0000 (+0300) Subject: Fillet is macro X-Git-Tag: V_1.2.0~55 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=158b35b7e2ad3bf673825273a06608ae3e20511d;p=modules%2Fshaper.git Fillet is macro --- diff --git a/src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp b/src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp index 5f23e1e88..bcee3fe0d 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp +++ b/src/SketchPlugin/SketchPlugin_ConstraintFillet.cpp @@ -307,6 +307,10 @@ AISObjectPtr SketchPlugin_ConstraintFillet::getAISObject(AISObjectPtr thePreviou return anAIS; } +bool SketchPlugin_ConstraintFillet::isMacro() const +{ + return false; +} // ========= Auxiliary functions ================= diff --git a/src/SketchPlugin/SketchPlugin_ConstraintFillet.h b/src/SketchPlugin/SketchPlugin_ConstraintFillet.h index 5b7cd4946..870191797 100644 --- a/src/SketchPlugin/SketchPlugin_ConstraintFillet.h +++ b/src/SketchPlugin/SketchPlugin_ConstraintFillet.h @@ -47,6 +47,10 @@ class SketchPlugin_ConstraintFillet : public SketchPlugin_ConstraintBase /// Returns the AIS preview SKETCHPLUGIN_EXPORT virtual AISObjectPtr getAISObject(AISObjectPtr thePrevious); + /// Reimplemented from ModelAPI_Feature::isMacro(). + /// \returns true + SKETCHPLUGIN_EXPORT virtual bool isMacro() const; + /// \brief Use plugin manager for features creation SketchPlugin_ConstraintFillet(); }; diff --git a/src/SketchPlugin/plugin-Sketch.xml b/src/SketchPlugin/plugin-Sketch.xml index 59104a8f9..e246821a9 100644 --- a/src/SketchPlugin/plugin-Sketch.xml +++ b/src/SketchPlugin/plugin-Sketch.xml @@ -233,7 +233,7 @@ - +