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

WebGLRenderer: Allow morphTarget values to be negative. Fixes #5712.

Mr.doob 10 жил өмнө
parent
commit
2f716c0613

+ 1 - 1
src/renderers/WebGLRenderer.js

@@ -3103,7 +3103,7 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 
 				influence = influences[ i ];
 				influence = influences[ i ];
 
 
-				if ( influence > 0 ) {
+				if ( influence !== 0 ) {
 
 
 					activeInfluenceIndices.push( [ influence, i ] );
 					activeInfluenceIndices.push( [ influence, i ] );