fixed: check if children array != 0 before calling getChildren
fixed: check if children array != 0 before calling getChildren

jondo2010/OpenSG,jondo2010/OpenSG,jondo2010/OpenSG,jondo2010/OpenSG,jondo2010/OpenSG