MenuPlugin derivative ctor never called



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 16/04/2006 at 00:00, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   9.5 
    Platform:      Mac OSX  ; 
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    This message is just to confirm that I also see the behavior reported in this post.

    My MenuPlugin derivative class's constructor never seems to be called. You can wrap the super() call in println() calls, and you never see either message printed on the console. As reported in the other thread, COFFEE complains if you leave out the call to super() call, oddly enough.

    You can initialize member variables and such in Execute(), but this is awkward. C++ programmers will waste a fair bit of time discovering this behavior, as they will expect the ctor to be called whent the plugin object is created.


Log in to reply