1
0
Эх сурвалжийг харах

RenderObject: Drop redundant morph target check. (#33771)

Michael Herzog 6 өдөр өмнө
parent
commit
1a71e48fb7

+ 1 - 0
src/nodes/accessors/ReferenceNode.js

@@ -262,6 +262,7 @@ class ReferenceNode extends Node {
 		} else if ( Array.isArray( this.getValueFromReference() ) ) {
 
 			node = uniformArray( null, uniformType );
+			node.updateType = NodeUpdateType.OBJECT;
 
 		} else if ( uniformType === 'texture' ) {
 

+ 1 - 1
src/renderers/common/RenderObject.js

@@ -809,7 +809,7 @@ class RenderObject {
 
 		}
 
-		if ( object.isInstancedMesh || object.count > 1 || Array.isArray( object.morphTargetInfluences ) ) {
+		if ( object.isInstancedMesh || object.count > 1 ) {
 
 			// TODO: https://github.com/mrdoob/three.js/pull/29066#issuecomment-2269400850
 

粤ICP备19079148号