Hi,
for the sake of cleanness in my code - is there a way to hide the error
message that shows when trying to parent an object to something that it
is already child of?
Can't get that try catch trick to work.
Thanks!
Eugen
var oObj= CreatePrim("Cube", "MeshSurface", null, null);
var oParent = ActiveSceneRoot;
//ParentObj(oParent, oObj); // WARNING : 3030-EDIT-ParentObj - Command
was cancelled.
try
{
ParentObj(oParent, oObj);
}
catch(e)
{
//LogMessage(e);
}
---
Diese E-Mail ist frei von Viren und Malware, denn der avast! Antivirus Schutz
ist aktiv.
http://www.avast.com