@@ -1711,7 +1711,7 @@ function WebGLRenderer( parameters = {} ) {
if ( morphAttributes.position !== undefined || morphAttributes.normal !== undefined || ( morphAttributes.color !== undefined && capabilities.isWebGL2 === true ) ) {
- morphtargets.update( object, geometry, material, program );
+ morphtargets.update( object, geometry, program );
}
@@ -30,7 +30,7 @@ function WebGLMorphtargets( gl, capabilities, textures ) {
- function update( object, geometry, material, program ) {
+ function update( object, geometry, program ) {
const objectInfluences = object.morphTargetInfluences;