Start a new topic

set material color

Original Post by: perezucf Wed Nov 13 23:17:35 2013


How do you set the material index (found in the colors tab) through the API? I tried setting the fltPolyMaterial attribute of the polygon but that does not seem to work.


Original Post by: perezucf Wed Nov 13 23:20:05 2013


Actually it is set if I check it immediately after. Something else must be overwriting it.

Original Post by: ChrisRogers Wed Nov 13 23:27:27 2013


Any luck finding the culprit?

Original Post by: perezucf Wed Nov 13 23:33:26 2013


Yes I was copying something from another node and was overwriting it with the default value by accident :(

Original Post by: ChrisRogers Wed Nov 13 23:37:13 2013


Great! (well great in the sense that you no longer are stuck!)

Login to post a comment