David Catuhe 8 năm trước cách đây
mục cha
commit
ca1f47eb03
3 tập tin đã thay đổi với 3345 bổ sung3345 xóa
  1. 1672 1672
      dist/preview release/babylon.d.ts
  2. 1672 1672
      dist/preview release/babylon.module.d.ts
  3. 1 1
      src/Materials/babylon.material.ts

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1672 - 1672
dist/preview release/babylon.d.ts


Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 1672 - 1672
dist/preview release/babylon.module.d.ts


+ 1 - 1
src/Materials/babylon.material.ts

@@ -222,7 +222,7 @@
             }
 
             if (!doNotAdd) {
-                scene.materials.push(this);
+                this._scene.materials.push(this);
             }
         }