Explorar o código

PlaneHelper: Update matrixWorld before rendering.

Mr.doob %!s(int64=8) %!d(string=hai) anos
pai
achega
d68c3f5151
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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 };