]> OCCT Git - occt.git/commitdiff
0025370: Visualization - misprint in PrsMgr_PresentationManager::Connect()
authorkgv <kgv@opencascade.com>
Tue, 14 Oct 2014 15:07:00 +0000 (19:07 +0400)
committerbugmaster <bugmaster@opencascade.com>
Thu, 16 Oct 2014 11:50:42 +0000 (15:50 +0400)
fix theMode -> theOtherMode

src/PrsMgr/PrsMgr_PresentationManager.cxx

index ce87ff48d3dcc224a5848ad5a26a78fd1fcc118b..79fca1fd81686edd273f199035d3c88fbf1ade46 100644 (file)
@@ -539,7 +539,7 @@ void PrsMgr_PresentationManager::Connect (const Handle(PrsMgr_PresentableObject)
   {
     AddPresentation (theOtherObject, theOtherMode);
   }
-  Presentation (thePrsObject, theMode)->Connect (Presentation (theOtherObject, theMode));
+  Presentation (thePrsObject, theMode)->Connect (Presentation (theOtherObject, theOtherMode));
 }
 
 // =======================================================================