فهرست منبع

PlaneHelper: Update matrixWorld before rendering.

Mr.doob 8 سال پیش
والد
کامیت
d68c3f5151
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  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 };