Skip to content

Commit

Permalink
RenderObject: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Jan 10, 2025
1 parent 75101f0 commit dace5f1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/renderers/common/RenderObject.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,8 @@ class RenderObject {

const targets = geometry.morphAttributes[ name ];

cacheKey += name + ',';

for ( let i = 0, l = targets.length; i < l; i ++ ) {

const attribute = targets[ i ];
Expand Down Expand Up @@ -659,12 +661,6 @@ class RenderObject {

}

if ( object.morphTargetInfluences ) {

cacheKey += object.morphTargetInfluences.length + ',';

}

if ( object.isBatchedMesh ) {

cacheKey += object._matricesTexture.uuid + ',';
Expand Down

0 comments on commit dace5f1

Please sign in to comment.