فهرست منبع

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