Browse Source

PlaneHelper: Update matrixWorld before rendering.

Mr.doob 8 years ago
parent
commit
d68c3f5151
1 changed files with 2 additions and 0 deletions
  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.updateMatrixWorld( true );
+
 };
 
 export { PlaneHelper };