X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FSketchPlugin%2FSketchPlugin_SketchEntity.h;h=84214ce014abd05eca8dcb13bfe5709c89061bf8;hb=4d139bda8e931e65bf1a63b12e6b13d26ae9b205;hp=b181565a7bc1f633b6b300c1d787c687ed749f68;hpb=d588149317acbc2bd8e6ceb00f8e82e806571775;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_SketchEntity.h b/src/SketchPlugin/SketchPlugin_SketchEntity.h index b181565a7..84214ce01 100644 --- a/src/SketchPlugin/SketchPlugin_SketchEntity.h +++ b/src/SketchPlugin/SketchPlugin_SketchEntity.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2022 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -179,7 +179,8 @@ class SketchPlugin_SketchEntity : public SketchPlugin_Feature //, public GeomAPI // } // if (!aColor.empty()) { // if (theResult.get() && ModelAPI_Session::get()->isOperation()) { - // AttributeIntArrayPtr aColorAttr = theResult->data()->intArray(ModelAPI_Result::COLOR_ID()); + // AttributeIntArrayPtr aColorAttr = + // theResult->data()->intArray(ModelAPI_Result::COLOR_ID()); // aColorAttr->setSize(3); // // Set the color attribute in order do not use default colors in the presentation object // for (int i = 0; i < 3; i++) @@ -226,6 +227,9 @@ protected: /// \brief Initializes attributes of derived class. virtual void initDerivedClassAttributes(){}; + /// \brief Initializes attributes of derived class which were added recently. + virtual void initDerivedClassAttributes2(){}; + }; #endif