0027860: Visualization - clean up Transformation Persistence API
[occt.git] / src / AIS / AIS_InteractiveContext.cxx
index a55caec..60404c1 100644 (file)
@@ -2932,11 +2932,9 @@ void AIS_InteractiveContext::FitSelected (const Handle(V3d_View)& theView,
 //purpose  :
 //=======================================================================
 void AIS_InteractiveContext::SetTransformPersistence (const Handle(AIS_InteractiveObject)& theObject,
-                                                      const Graphic3d_TransModeFlags&      theFlag,
-                                                      const gp_Pnt&                        thePoint)
+                                                      const Handle(Graphic3d_TransformPers)& theTrsfPers)
 {
-  theObject->SetTransformPersistence (theFlag, thePoint);
-
+  theObject->SetTransformPersistence (theTrsfPers);
   if (!myObjects.IsBound (theObject))
   {
     return;