On 27/01/2017 at 02:49, xxxxxxxx wrote:
Cinema 4D Version: R18
Platform: Windows ;
Language(s) : C++ ;
In order not to derail the question I had asked in another thread, I have created this separate topic.
I have a MessageData plugin which detects changes in a document in its CoreMessage method.
As a result of changes I then perform some calculation. However, it was brought to my attention that intensive operations should not be performed in CoreMessage.
An alternative would then be for the change detection in CoreMessage to send a message to a SceneHook plugin, which would then instead perform the intensive operation in its Message method.
So, is that simply moving the problem to another plugin, or is SceneHook::Message allowed to spend more time on operations?
Or would it be better to let MessageData call a custom SceneHook method instead?