On 16/11/2017 at 11:04, xxxxxxxx wrote:
Here an image of the issue.
Object "test 2" is the generator with the texture attached to the generator and no other textures on the children.The output is ok.
"Test 1" has a texture attached to the generator and a texture attached to the second child.
Now we see that the purple texture is not applied to the result. Only the yellow texture.
If I add a test line to my code, the resulting generator object is shown. Dangerous, I know, but just to test.
doc.InsertObject(objList[0].GetClone())
As you can see the csto of test 1 returns a Null with the generator object as child.
CSTO of the test 2 returns generator object.
In both cases the purple texture disappears after the csto.
I guess I have to add the texture on the generator to the generators output object.
I hope this clarifies it better.
Note: I use the code poste in the first post.
-Pim