未验证 提交 63ef42cd 编写于 作者: D donutcoffee 提交者: GitHub

Make CSS2DRenderer respect scene.autoUpdate

上级 4cc9e856
......@@ -161,8 +161,8 @@ THREE.CSS2DRenderer = function () {
};
this.render = function ( scene, camera ) {
scene.updateMatrixWorld();
if (scene.autoUpdate === true) { scene.updateMatrixWorld(); }
if ( camera.parent === null ) camera.updateMatrixWorld();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册