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

Post-release fixes.

上级 6c63d569
......@@ -21886,6 +21886,7 @@
if ( isAnimating ) return;
( vr.getDevice() || window ).requestAnimationFrame( loop );
isAnimating = true;
}
......@@ -43341,7 +43342,7 @@
set: function ( value ) {
console.warn( 'THREE.' + this.type + ': .shading has been removed. Use the boolean .flatShading instead.' );
this.flatShading = ( value === THREE.FlatShading ) ? true : false;
this.flatShading = ( value === FlatShading );
}
}
......
此差异已折叠。
......@@ -21880,6 +21880,7 @@ function WebGLRenderer( parameters ) {
if ( isAnimating ) return;
( vr.getDevice() || window ).requestAnimationFrame( loop );
isAnimating = true;
}
......@@ -43335,7 +43336,7 @@ Object.defineProperties( Material.prototype, {
set: function ( value ) {
console.warn( 'THREE.' + this.type + ': .shading has been removed. Use the boolean .flatShading instead.' );
this.flatShading = ( value === THREE.FlatShading ) ? true : false;
this.flatShading = ( value === FlatShading );
}
}
......
......@@ -26,8 +26,8 @@ Sidebar.Material = function ( editor ) {
materialSlotRow.add( new UI.Text( 'Slot' ).setWidth( '90px' ) );
var materialSlotSelect = new UI.Select().setWidth( '170px' ).setFontSize( '12px' ).onChange( update );
var materialSlotSelect = new UI.Select().setWidth( '170px' ).setFontSize( '12px' ).onChange( update );
materialSlotSelect.setOptions( { 0: '' } ).setValue( 0 );
materialSlotRow.add( materialSlotSelect );
container.add( materialSlotRow );
......@@ -518,7 +518,7 @@ Sidebar.Material = function ( editor ) {
if ( currentMaterialSlot !== previousSelectedSlot ) refreshUI( true );
material = editor.getObjectMaterial( currentObject, currentMaterialSlot )
material = editor.getObjectMaterial( currentObject, currentMaterialSlot )
var textureWarning = false;
var objectHasUvs = false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册