Ver Fonte

PlaneHelper: Update matrixWorld before rendering.

Mr.doob há 8 anos atrás
pai
commit
d68c3f5151
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      src/helpers/PlaneHelper.js

+ 2 - 0
src/helpers/PlaneHelper.js

@@ -57,6 +57,8 @@ PlaneHelper.prototype.onBeforeRender = function () {
 
 
 	this.lookAt( this.plane.normal );
 	this.lookAt( this.plane.normal );
 
 
+	this.updateMatrixWorld( true );
+
 };
 };
 
 
 export { PlaneHelper };
 export { PlaneHelper };