فهرست منبع

Merge pull request #2884 from sebavan/master

Typo
sebavan 8 سال پیش
والد
کامیت
764072165a
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/Mesh/babylon.mesh.ts

+ 2 - 2
src/Mesh/babylon.mesh.ts

@@ -136,7 +136,7 @@
         // Use by builder only to know what orientation were the mesh build in.
         public _originalBuilderSideOrientation: number = Mesh._DEFAULTSIDE;
 
-        public overrrideMaterialSideOrientation: number = null;
+        public overrideMaterialSideOrientation: number = null;
 
         private _areNormalsFrozen: boolean = false; // Will be used by ribbons mainly
 
@@ -1178,7 +1178,7 @@
                 effect = this._effectiveMaterial.getEffect();
             }
 
-            var reverse = this._effectiveMaterial._preBind(effect, this.overrrideMaterialSideOrientation);
+            var reverse = this._effectiveMaterial._preBind(effect, this.overrideMaterialSideOrientation);
 
             if (this._effectiveMaterial.forceDepthWrite) {
                 engine.setDepthWrite(true);