On 04/03/2015 at 02:00, xxxxxxxx wrote:
I have a material from which I want to copy a shader to a tag with a texture field.
So I get the material, get the shader, clone it and copy it to the tag texture field.
This does not work
cloneShd = mat1[c4d.MATERIAL_COLOR_SHADER]
shd = cloneShd.GetClone()
When I do not use a clone it works!
shd = mat1[c4d.MATERIAL_COLOR_SHADER]
What am I doing wrong here?
-Pim