]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
Fix for the "0051899: curves are not shown in opened study" issue. BR_new_bop3 BR_new_bop4 V7_2_1_BR V7_2_BR master NEWBOP_OCCdev_3f4689a163 NEWBOP_OCCdev_440906ef6a NEWBOP_OCCdev_45e81bbf67 NEWBOP_OCCdev_58655684c0 NEWBOP_OCCdev_80cd454f1d NEWBOP_OCCdev_b45c727b8d V7_2_0 V7_2_0_public V7_2_0p1 V7_2_0p2 V7_2_0rc2 V7_main_20130530 V7_main_20130531 V7_main_20130606 V7_main_20130607 V7_main_20130610 V7_main_20130611 V7_main_20130613 V7_main_20130617 V7_main_OCCdev_ V7_main_OCCdev_10173e7f92_20131118 V7_main_OCCdev_10173e7f92_20131119 V7_main_OCCdev_3054a9f4df_20131018 V7_main_OCCdev_3054a9f4df_20131021 V7_main_OCCdev_3054a9f4df_20131024 V7_main_OCCdev_3054a9f4df_20131025 V7_main_OCCdev_39aac5778a_20130917 V7_main_OCCdev_39aac5778a_20130918 V7_main_OCCdev_39aac5778a_20130919 V7_main_OCCdev_39aac5778a_20130920 V7_main_OCCdev_4269bd1b11_20130924 V7_main_OCCdev_4269bd1b11_20130925 V7_main_OCCdev_4269bd1b11_20130926 V7_main_OCCdev_4269bd1b11_20130927 V7_main_OCCdev_429a6c4d2c_20131028 V7_main_OCCdev_429a6c4d2c_20131101 V7_main_OCCdev_830d849f94_20131008 V7_main_OCCdev_830d849f94_20131009 V7_main_OCCdev_830d849f94_20131010 V7_main_OCCdev_830d849f94_20131011 V7_main_OCCdev_a55f92813e_20131014 V7_main_OCCdev_a55f92813e_20131016 V7_main_OCCdev_a55f92813e_20131017 V7_main_OCCdev_d9ec7d1d09_20130930 V7_main_OCCdev_d9ec7d1d09_20131001 V7_main_OCCdev_d9ec7d1d09_20131002 V7_main_OCCdev_d9ec7d1d09_20131003 V7_main_OCCdev_e5bd0d984c_20131108 V7_main_OCCdev_e5bd0d984c_20131111 V7_main_OCCdev_e5bd0d984c_20131112 V7_main_OCCdev_e5bd0d984c_20131113 V7_main_OCCdev_e5bd0d984c_20131114 V7_main_OCCdev_e5bd0d984c_20131115 before_mergefrom_BR_new_bop4_13Sep13 before_mergefrom_V7_2_1_BR_28Aug13 before_mergefrom_V7_2_BR_09Aug13 before_mergefrom_V7_siman_11Oct13 mergefrom_BR_new_bop4_13Sep13 mergefrom_V7_2_BR_09Aug13 mergefrom_V7_siman_11Oct13 mergeto_V7_main_09Aug13 mergeto_V7_main_13Sep13 start_BR_new_bop3 start_BR_new_bop4 start_V7_2_1_BR
authorrnv <rnv@opencascade.com>
Fri, 26 Apr 2013 13:01:14 +0000 (13:01 +0000)
committerrnv <rnv@opencascade.com>
Fri, 26 Apr 2013 13:01:14 +0000 (13:01 +0000)
src/VISU_I/VISU_Table_i.cc

index e359f866a5fc9164ac87ad5d89d612b9264a2e5c..6d7362637831c0b62c6701798fbd0426f4eb7ada 100644 (file)
@@ -680,6 +680,7 @@ VISU::Storable* VISU::Table_i::Restore( const Storable::TRestoringMap& theMap, S
   myTitle = VISU::Storable::FindValue(theMap,"myTitle").toLatin1().data();
   myOrientation = ( VISU::Table::Orientation )( VISU::Storable::FindValue(theMap,"myOrientation").toInt() );
   mySObj = SALOMEDS::SObject::_duplicate(SO);
   myTitle = VISU::Storable::FindValue(theMap,"myTitle").toLatin1().data();
   myOrientation = ( VISU::Table::Orientation )( VISU::Storable::FindValue(theMap,"myOrientation").toInt() );
   mySObj = SALOMEDS::SObject::_duplicate(SO);
+  mySObj->Register();
   return Build( true );
 }
 /*!
   return Build( true );
 }
 /*!
@@ -1327,6 +1328,7 @@ VISU::Storable* VISU::Curve_i::Restore( const Storable::TRestoringMap& theMap, S
 {
   if(MYDEBUG) MESSAGE(GetComment());
   mySObj = SALOMEDS::SObject::_duplicate(theSO);
 {
   if(MYDEBUG) MESSAGE(GetComment());
   mySObj = SALOMEDS::SObject::_duplicate(theSO);
+  mySObj->Register();
   SetName(VISU::Storable::FindValue(theMap,"myName").toLatin1().data(), false);
   myHRow = VISU::Storable::FindValue(theMap,"myHRow").toInt();
   myVRow = VISU::Storable::FindValue(theMap,"myVRow").toInt();
   SetName(VISU::Storable::FindValue(theMap,"myName").toLatin1().data(), false);
   myHRow = VISU::Storable::FindValue(theMap,"myHRow").toInt();
   myVRow = VISU::Storable::FindValue(theMap,"myVRow").toInt();