]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix for bug IPAL11949(TC: Just created nodes are invisible).
authormzn <mzn@opencascade.com>
Fri, 24 Mar 2006 10:57:08 +0000 (10:57 +0000)
committermzn <mzn@opencascade.com>
Fri, 24 Mar 2006 10:57:08 +0000 (10:57 +0000)
src/SMESHDS/SMESHDS_Script.cxx

index 3f2b012541112226b1ed377bef41ff95bac15a35..de9883a9725e7edcdaae74de0ba4127f58a8d26c 100644 (file)
@@ -89,6 +89,10 @@ SMESHDS_Command* SMESHDS_Script::getCommand(const SMESHDS_CommandType aType)
 //=======================================================================
 void SMESHDS_Script::AddNode(int NewNodeID, double x, double y, double z)
 {
+  if(myIsEmbeddedMode){
+    myIsModified = true;
+    return;
+  }
   getCommand(SMESHDS_AddNode)->AddNode(NewNodeID, x, y, z);
 }