Преглед на файлове

Fixing a bug when mesh is child of a camera

David Catuhe преди 11 години
родител
ревизия
42c9d35d92
променени са 3 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 1 0
      Babylon/Cameras/babylon.camera.js
  2. 1 0
      Babylon/Lights/babylon.light.js
  3. 2 2
      babylon.1.6.0.js

+ 1 - 0
Babylon/Cameras/babylon.camera.js

@@ -6,6 +6,7 @@
         this.id = name;
         this.position = position;
         this.upVector = BABYLON.Vector3.Up();
+        this._childrenFlag = true;
 
         this._scene = scene;
 

+ 1 - 0
Babylon/Lights/babylon.light.js

@@ -4,6 +4,7 @@
     BABYLON.Light = function (name, scene) {
         this.name = name;
         this.id = name;
+        this._childrenFlag = true;
 
         this._scene = scene;
 

Файловите разлики са ограничени, защото са твърде много
+ 2 - 2
babylon.1.6.0.js