Browse Source

Update ShadowMesh.js

erichlof 10 years ago
parent
commit
3ee2e831af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/objects/ShadowMesh.js

+ 1 - 1
src/objects/ShadowMesh.js

@@ -19,7 +19,7 @@ THREE.ShadowMesh = function ( mesh ) {
 	
 	THREE.Mesh.call( this, mesh.geometry, shadowMaterial );
 	
-	this.parentMeshMatrix = mesh.matrix;
+	this.parentMeshMatrix = mesh.matrixWorld;
 	
 	this.frustumCulled = false;