소스 검색

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