www.jpct.net

jPCT-AE - a 3d engine for Android => Bugs => Topic started by: Thomas. on July 29, 2012, 02:12:16 pm

Title: Shader isn't copied
Post by: Thomas. on July 29, 2012, 02:12:16 pm
By constructor Object3D(Object3D obj, boolean reuseMesh) is not copied shader too.
Title: Re: Shader isn't copied
Post by: EgonOlsen on July 30, 2012, 07:19:32 am
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?
Title: Re: Shader isn't copied
Post by: Thomas. on July 30, 2012, 02:32:18 pm
Ok, ok, I thought, that it is unwanted result ;)