소스 검색

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 () {