Fix for bug IPAL11949(TC: Just created nodes are invisible).

This commit is contained in:
mzn 2006-03-24 10:57:08 +00:00
parent bbbdb7f3ef
commit 123114e554

View 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);
}