Shader isn't copied

Started by Thomas., July 29, 2012, 02:12:16 PM

Previous topic - Next topic

Thomas.

By constructor Object3D(Object3D obj, boolean reuseMesh) is not copied shader too.

EgonOlsen

No, it's not. And it's actually not supposed to be. These constructors were actually meant to make a clone of the object, not of it's attributes. Is there a problem with setting the shader yourself after the creation of the object?

Thomas.

Ok, ok, I thought, that it is unwanted result ;)