Can't render in editor while tool is active



  • On 26/06/2014 at 03:55, xxxxxxxx wrote:

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

    ---------
    When my DescriptionToolData tool is active, pressing the editor render button does nothing.
    The only way to be able to render in the editor is to switch to any other tool (scale, rotate, selection, etc).
    Is there any way to fix this?



  • On 26/06/2014 at 06:20, xxxxxxxx wrote:

    Ok, found it. (When I ask things here, I still keep on searching... I don't want to me a leech ;-)

    In my case, just at the beginning of the MouseInput method I added this:

      
    if (CheckIsRunning(CHECKISRUNNING_EDITORRENDERING)) return FALSE;   
    

    And it works just fine :-)


Log in to reply