This should avoid people adding stuff that it's not an Object3D to the Scene Graph.
Also, checking if the object is already a children is a bit redudant (the next lines code takes care of that indirectly).
Showing
想要评论请 注册 或 登录
Also, checking if the object is already a children is a bit redudant (the next lines code takes care of that indirectly).