]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
0023445: EDF 14284 - Problem with Dump Python V8_4_0a1
authorvsr <vsr@opencascade.com>
Mon, 21 Aug 2017 12:11:28 +0000 (15:11 +0300)
committervsr <vsr@opencascade.com>
Mon, 21 Aug 2017 12:11:28 +0000 (15:11 +0300)
src/GEOM/GEOM_Engine.cxx

index bfd101415e33725f9e753dd1529a03109d54747a..f7ae8fc8e82a29a7217fa2d1dbebecc175e989ee 100644 (file)
@@ -1853,7 +1853,7 @@ void PublishObject (TObjectData&                              theObjectData,
 
     // store aCreationCommand before publishing commands
     int tag = GetTag(theObjectData._entry);
-    theEntryToCmdMap.insert( std::make_pair( tag + 2*theEntry2ObjData.size(), aCreationCommand ));
+    theEntryToCmdMap.insert( std::make_pair( tag + -2*theEntry2ObjData.size(), aCreationCommand ));
   }
 
   // make a command