Explorar el Código

Merge pull request #117 from gwenael-hagenmuller/getPivotMatrix

Fixed BABYLON.Mesh.prototype.getPivotMatrix
deltakosh hace 11 años
padre
commit
ba7be9b012
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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 () {