DescriptionToolData Init/FreeTool

  • On 04/01/2013 at 15:42, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   12 
    Platform:    Mac  ;  
    Language(s) :     C++  ;


    Getting to know C++ with C4D R12 better. Starting to get ideas. But here I have a little problem:

    In a tool I am working on I am not sure when InitTool and FreeTool get called. I *thought* InitTool would happen every time my tool's dialog pops up and EndTool when it goes away.

    But it looks as InitTool only happens the first time it gets called. Am I missing something?

    Are there other ways to update the contents of my dialog upon showing it?



  • On 09/01/2013 at 12:16, xxxxxxxx wrote:

    As always, I am assuming when nobody responds to question it must be really stupid.

    And it was. Because I do get the FreeTool message when I select another tool (not just selecting an object, which is what I did). And then, when I re-enter my plugin I do properly receive the InitTool message.

    So there.



Log in to reply