瀏覽代碼

Fixed BABYLON.Mesh.prototype.getPivotMatrix

this._localMatrix was never set and never used. That must have been a typo in 944cfb4.
Gwenaël Hagenmuller 11 年之前
父節點
當前提交
b760049ab3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Babylon/Mesh/babylon.mesh.js

+ 1 - 1
Babylon/Mesh/babylon.mesh.js

@@ -140,7 +140,7 @@ var BABYLON = BABYLON || {};
     };
 
     BABYLON.Mesh.prototype.getPivotMatrix = function () {
-        return this._localMatrix;
+        return this._pivotMatrix;
     };
 
     BABYLON.Mesh.prototype.isSynchronized = function () {