Przeglądaj źródła

Merge pull request #117 from gwenael-hagenmuller/getPivotMatrix

Fixed BABYLON.Mesh.prototype.getPivotMatrix
deltakosh 11 lat temu
rodzic
commit
ba7be9b012
1 zmienionych plików z 1 dodań i 1 usunięć
  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 () {
     BABYLON.Mesh.prototype.getPivotMatrix = function () {
-        return this._localMatrix;
+        return this._pivotMatrix;
     };
     };
 
 
     BABYLON.Mesh.prototype.isSynchronized = function () {
     BABYLON.Mesh.prototype.isSynchronized = function () {