提交 30dea678 编写于 作者: M Mr.doob

Geometry: groupsNeedUpdate support. Should fix #6694.

上级 899ed304
......@@ -45,8 +45,6 @@ THREE.Geometry = function () {
this.colorsNeedUpdate = false;
this.lineDistancesNeedUpdate = false;
this.groupsNeedUpdate = false;
};
THREE.Geometry.prototype = {
......@@ -1071,6 +1069,14 @@ THREE.Geometry.prototype = {
this.dispatchEvent( { type: 'dispose' } );
},
// Backwards compatibility
set groupsNeedUpdate ( value ) {
if ( value === true ) this.dispose();
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册