X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGeomAPI%2FGeomAPI_AISObject.cpp;h=aea1179d62076fc4aaddd0a1c44f53950acf8787;hb=60e95a5502a6940c6c27ce5d561b3c684b0b0a4f;hp=6be05290b1d06ac86d6ad5cc2c7f8c252ea6cc94;hpb=c6ef101d10021ba8ed89b3838d1f18db28132c19;p=modules%2Fshaper.git diff --git a/src/GeomAPI/GeomAPI_AISObject.cpp b/src/GeomAPI/GeomAPI_AISObject.cpp index 6be05290b..aea1179d6 100644 --- a/src/GeomAPI/GeomAPI_AISObject.cpp +++ b/src/GeomAPI/GeomAPI_AISObject.cpp @@ -253,6 +253,14 @@ void GeomAPI_AISObject::createFixed(std::shared_ptr theShape, } } +void GeomAPI_AISObject::redisplay() +{ + Handle(AIS_InteractiveObject) anAIS = impl(); + if (!anAIS.IsNull()) { + Handle(AIS_InteractiveContext) aContext = anAIS->GetContext(); + aContext->Redisplay(anAIS, false); + } +} void GeomAPI_AISObject::setColor(const int& theColor)