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

ObjectLoader: Handle AmbientLight intensity.

上级 9bec2f03
......@@ -20,7 +20,7 @@ Sidebar.Object3D = function ( editor ) {
// Actions
var objectActions = new UI.Select().setPosition('absolute').setRight( '8px' ).setFontSize( '11px' );
var objectActions = new UI.Select().setPosition( 'absolute' ).setRight( '8px' ).setFontSize( '11px' );
objectActions.setOptions( {
'Actions': 'Actions',
......
......@@ -319,7 +319,7 @@ THREE.ObjectLoader.prototype = {
for ( var i = 0; i < json.length; i ++ ) {
var clip = THREE.AnimationClip.parse( json[i] );
var clip = THREE.AnimationClip.parse( json[ i ] );
animations.push( clip );
......@@ -485,7 +485,7 @@ THREE.ObjectLoader.prototype = {
case 'AmbientLight':
object = new THREE.AmbientLight( data.color );
object = new THREE.AmbientLight( data.color, data.intensity );
break;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册