diff --git a/editor/js/Sidebar.Object3D.js b/editor/js/Sidebar.Object3D.js index 0b5fdcbfbe0058da898bd33ace53fb53db05be33..3afa54a98ae119e60a6c59a897ad5479ab094e61 100644 --- a/editor/js/Sidebar.Object3D.js +++ b/editor/js/Sidebar.Object3D.js @@ -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() ); }