浏览代码

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