Explorar o código

Fixed BABYLON.Mesh.prototype.getPivotMatrix

this._localMatrix was never set and never used. That must have been a typo in 944cfb4.
Gwenaël Hagenmuller %!s(int64=11) %!d(string=hai) anos
pai
achega
b760049ab3
Modificáronse 1 ficheiros con 1 adicións e 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 () {