Salome HOME
Fix for bug IPAL9672 : Calculator branch doesn?t appear.
authormkr <mkr@opencascade.com>
Thu, 29 Sep 2005 13:52:41 +0000 (13:52 +0000)
committermkr <mkr@opencascade.com>
Thu, 29 Sep 2005 13:52:41 +0000 (13:52 +0000)
src/SUPERVGUI/SUPERVGUI_Main.cxx

index 6f2381add46e60af98b5df685f6f1a0973eab963..494dd7e5cf2e080693f1a7078f659e7cefec166f 100644 (file)
@@ -1055,8 +1055,11 @@ bool SUPERVGUI_Main::putDataStudy( SUPERV_Port p, const char* inout ) {
        }
        else { // component has no driver, but could store IORs (like Calculator)
          _PTR(SObject) anIORSO ( aStudy->FindObjectIOR( p->ToString() ) );
-         if ( anIORSO )
+         if ( anIORSO ) {
            aBuilder->Addreference(aSO, anIORSO);
+           // mkr : IPAL9672
+           PublishOtherComponent = true;
+         }
          else { // Hm... the object (==port value) was not found, so we don't publish it.
            MESSAGE( "The object (==port value) was not found, so we don't publish it" );
            aBuilder->AbortCommand();