David Catuhe 10 vuotta sitten
vanhempi
commit
767c28379f

+ 1 - 1
Babylon/Mesh/babylon.mesh.js

@@ -47,7 +47,7 @@ var BABYLON;
                     source._geometry.applyToMesh(this);
                     source._geometry.applyToMesh(this);
                 }
                 }
                 // Deep copy
                 // Deep copy
-                BABYLON.Tools.DeepCopy(source, this, ["name", "material", "skeleton"], []);
+                BABYLON.Tools.DeepCopy(source, this, ["name", "material", "skeleton", "instances"], []);
                 // Material
                 // Material
                 this.material = source.material;
                 this.material = source.material;
                 if (!doNotCloneChildren) {
                 if (!doNotCloneChildren) {

+ 1 - 1
Babylon/Mesh/babylon.mesh.ts

@@ -72,7 +72,7 @@
                 }
                 }
 
 
                 // Deep copy
                 // Deep copy
-                Tools.DeepCopy(source, this, ["name", "material", "skeleton"], []);
+                Tools.DeepCopy(source, this, ["name", "material", "skeleton", "instances"], []);
 
 
                 // Material
                 // Material
                 this.material = source.material;
                 this.material = source.material;

+ 1 - 1
babylon.2.1-beta.debug.js

@@ -10938,7 +10938,7 @@ var BABYLON;
                     source._geometry.applyToMesh(this);
                     source._geometry.applyToMesh(this);
                 }
                 }
                 // Deep copy
                 // Deep copy
-                BABYLON.Tools.DeepCopy(source, this, ["name", "material", "skeleton"], []);
+                BABYLON.Tools.DeepCopy(source, this, ["name", "material", "skeleton", "instances"], []);
                 // Material
                 // Material
                 this.material = source.material;
                 this.material = source.material;
                 if (!doNotCloneChildren) {
                 if (!doNotCloneChildren) {

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 2 - 2
babylon.2.1-beta.js