THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 17/11/2008 at 11:32, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.5, 11
Platform: Windows ;
Language(s) : C++ ;
---------
Hi,
Using a SceneHook I found that when a new material is created, MSG_DOCUMENTINFO_TYPE_MATERIAL_INSERT is called as expected.
But also, directly after that, MSG_DOCUMENTINFO_TYPE_LOAD is called. I thought MSG_DOCUMENT_TYPE_LOAD should only be called after loading a new C4D- document!
Can anyone confirm that this a bug in C4D? Our plugin relies on some operations after loading a new document, but now gets confused after new materials are created.
best regards,
mcduck