On 12/01/2018 at 01:46, xxxxxxxx wrote:
Cinema 4D Version: R18
Platform: Windows ;
Language(s) : C++ ;
I have a polygon and a material applied to it.
Once I delete the material, I receive a new DIRTYFLAGS_DATA bit since the texture tag doesn't point to any material. If I press Ctrl-Z, the material reappears in the texture tag but I don't get any DIRTYFLAGS_DATA update. So in this case I don't know if there is anything that has changed the object.
What's the correct way to deal with this situation ? Check manually the tags one by one to notice any change or set the data bit dirty on the object once any of its materials is deleted ?
Thank you for your time.