提交 8faa50b7 编写于 作者: G Greg Tatum

Merge remote-tracking branch 'upstream/dev' into documentation_updates2

......@@ -611,25 +611,25 @@ Sidebar.Material = function ( editor ) {
if ( material.color !== undefined ) {
materialColor.setValue( '#' + material.color.getHexString() );
materialColor.setHexValue( material.color.getHexString() );
}
if ( material.ambient !== undefined ) {
materialAmbient.setValue( '#' + material.ambient.getHexString() );
materialAmbient.setHexValue( material.ambient.getHexString() );
}
if ( material.emissive !== undefined ) {
materialEmissive.setValue( '#' + material.emissive.getHexString() );
materialEmissive.setHexValue( material.emissive.getHexString() );
}
if ( material.specular !== undefined ) {
materialSpecular.setValue( '#' + material.specular.getHexString() );
materialSpecular.setHexValue( material.specular.getHexString() );
}
......
......@@ -541,13 +541,13 @@ Sidebar.Object3D = function ( editor ) {
if ( object.color !== undefined ) {
objectColor.setValue( '#' + object.color.getHexString() );
objectColor.setHexValue( object.color.getHexString() );
}
if ( object.groundColor !== undefined ) {
objectGroundColor.setValue( '#' + object.groundColor.getHexString() );
objectGroundColor.setHexValue( object.groundColor.getHexString() );
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册