X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FAIS%2FAIS_InteractiveContext_2.cxx;h=9ce6fa886fc6bbbc90d1ead31e8b6853e17a6524;hb=7dd7c146e8b1cc67e848e95ecff57243d9ae0b53;hpb=faa0a9113319f1715de7ec53881f8384a353a25e diff --git a/src/AIS/AIS_InteractiveContext_2.cxx b/src/AIS/AIS_InteractiveContext_2.cxx index 1d2f2da9c3..9ce6fa886f 100644 --- a/src/AIS/AIS_InteractiveContext_2.cxx +++ b/src/AIS/AIS_InteractiveContext_2.cxx @@ -419,7 +419,7 @@ Standard_Boolean AIS_InteractiveContext::ImmediateAdd (const Handle(AIS_Interact return Standard_False; } - myMainPM->AddToImmediateList (myMainPM->Presentation (theObj, theMode)->Presentation()); + myMainPM->AddToImmediateList (myMainPM->Presentation (theObj, theMode)); return Standard_True; }