{
}
+GeomAPI_AISObject::~GeomAPI_AISObject()
+{
+ if (myImpl) {
+ // This is necessary for correct deletion of Handle entity.
+ // Without this Handle does not decremented counter to 0
+ Handle(AIS_InteractiveObject) *anAIS = (Handle(AIS_InteractiveObject)*)myImpl;
+ anAIS->Nullify();
+ }
+}
+
+
void GeomAPI_AISObject::createShape(std::shared_ptr<GeomAPI_Shape> theShape)
{
const TopoDS_Shape& aTDS =