提交 5d39a4d1 编写于 作者: M Mr.doob

Object3D: Clean up.

上级 bdb3c0ad
...@@ -93,8 +93,8 @@ function Object3D() { ...@@ -93,8 +93,8 @@ function Object3D() {
this.userData = {}; this.userData = {};
this.onBeforeRender = function(){}; this.onBeforeRender = function () {};
this.onAfterRender = function(){}; this.onAfterRender = function () {};
} }
...@@ -308,7 +308,7 @@ Object.assign( Object3D.prototype, EventDispatcher.prototype, { ...@@ -308,7 +308,7 @@ Object.assign( Object3D.prototype, EventDispatcher.prototype, {
} }
if ( (object && object.isObject3D) ) { if ( ( object && object.isObject3D ) ) {
if ( object.parent !== null ) { if ( object.parent !== null ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册