 bagg Registered User |
Quote
|
2010-10-04 10:08:48 |
|
Hi niko it's me again.
I want to ask you if it'w possible to clone a scenenode so that the changes that are taking place to the clone not to affect the original?
Thanks.
|
 niko Moderator |
Quote
|
2010-10-04 17:18:46 |
|
Hm, cloning a scene node doesn't affect the original. Or did you notice something like that?
|
 bagg Registered User |
Quote
|
2010-10-04 17:53:03 |
|
Yes it does.I have cloned a scenenode (from one scene to another) and when i change the clone's buffer (vertices) it affects the original too.Same when i change the texture to the clone the texture changes to the original too.Is it something wrong?
|
 niko Moderator |
Quote
|
2010-10-05 17:43:45 |
|
Ah, I see, you are right. The meshes of MeshSceneNodes are shared although the node is cloned. You either need to manually clone the meshes then, but I guess the better solution would be for me to add an option that those will be cloned then as well.
|
 niko Moderator |
Quote
|
2010-10-29 07:49:30 |
|
Update: There is now a mesh.createClone function in CopperLicht 1.3.0
|