]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1648: Dump Python in the High Level Parameterized Geometry API
authordbv <dbv@opencascade.com>
Thu, 11 Aug 2016 12:52:57 +0000 (15:52 +0300)
committerdbv <dbv@opencascade.com>
Thu, 11 Aug 2016 12:52:57 +0000 (15:52 +0300)
Dump for FeaturesAPI_ExtrusionCut and FeaturesAPI_ExtrusionFuse

src/FeaturesAPI/FeaturesAPI_ExtrusionBoolean.h

index 67a97e69c8e9a4fb730c22f629a66df3b659c26f..d5572cb4c6ee74739a82ee1871371b2325510973 100644 (file)
@@ -221,10 +221,8 @@ ExtrusionCutPtr addExtrusionCut(const std::shared_ptr<ModelAPI_Document>& thePar
 class FeaturesAPI_ExtrusionFuse: public FeaturesAPI_ExtrusionBoolean
 {
 public:
-  FEATURESAPI_EXPORT
-  virtual std::string getID() {
-    return FeaturesPlugin_ExtrusionFuse::ID();
-  }
+  static std::string ID() { return FeaturesPlugin_ExtrusionFuse::ID(); }
+  virtual std::string getID() { return ID(); }
 
   /// Constructor without values.
   FEATURESAPI_EXPORT