From 123114e5543481b65d8e78266d9966dab6694420 Mon Sep 17 00:00:00 2001 From: mzn Date: Fri, 24 Mar 2006 10:57:08 +0000 Subject: [PATCH] Fix for bug IPAL11949(TC: Just created nodes are invisible). --- src/SMESHDS/SMESHDS_Script.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SMESHDS/SMESHDS_Script.cxx b/src/SMESHDS/SMESHDS_Script.cxx index 3f2b01254..de9883a97 100644 --- a/src/SMESHDS/SMESHDS_Script.cxx +++ b/src/SMESHDS/SMESHDS_Script.cxx @@ -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); }