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

GUI: Little tweaks.

上级 b70624b9
...@@ -7,7 +7,7 @@ Sidebar.Properties = function ( signals ) { ...@@ -7,7 +7,7 @@ Sidebar.Properties = function ( signals ) {
container.setPadding( '8px' ); container.setPadding( '8px' );
container.setBorderTop( '1px solid #ccc' ); container.setBorderTop( '1px solid #ccc' );
container.add( new UI.Text().setText( 'PROPERTIES' ).setColor( '#666' ) ); container.add( new UI.Text().setText( 'OBJECT' ).setColor( '#666' ) );
container.add( new UI.Break(), new UI.Break() ); container.add( new UI.Break(), new UI.Break() );
......
...@@ -215,12 +215,12 @@ var Viewport = function ( signals ) { ...@@ -215,12 +215,12 @@ var Viewport = function ( signals ) {
function render() { function render() {
sceneHelpers.updateMatrixWorld();
scene.updateMatrixWorld(); scene.updateMatrixWorld();
sceneHelpers.updateMatrixWorld();
renderer.clear(); renderer.clear();
renderer.render( sceneHelpers, camera );
renderer.render( scene, camera ); renderer.render( scene, camera );
renderer.render( sceneHelpers, camera );
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册