Skip to content

Commit 804c3c1

Browse files
committed
BufferGeometryUtils: Remove use of old Material.morphTargets property
1 parent 3489c3b commit 804c3c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/utils/BufferGeometryUtils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@
801801

802802
const morphInfluences = object.morphTargetInfluences;
803803

804-
if ( material.morphTargets && morphAttribute && morphInfluences ) {
804+
if ( morphAttribute && morphInfluences ) {
805805

806806
_morphA.set( 0, 0, 0 );
807807

0 commit comments

Comments
 (0)