Dragging a tool in the editor



  • On 16/06/2014 at 07:56, xxxxxxxx wrote:

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

    ---------
    I have my DescriptionToolData plugin already showing a circle around the cursor as I move in the editor.
    I can control the radius of the circle using a slider in the Attribute Manager.
    But, I can't drag the circle in the editor.
    I mean, it moves when I move the cursor. But when I keep the mouse pressed, the cursor moves but the circle remains in the location it was when the mouse was clicked.
    How can I make it follow the cursor, even when the mouse button is pressed?



  • On 17/06/2014 at 06:53, xxxxxxxx wrote:

    Howdy,

    Add a DrawViews() call inside the while() loop.😉

    Adios,
    Cactus Dan



  • On 17/06/2014 at 10:53, xxxxxxxx wrote:

    Thank you, Dan.
    That is already working.
    Now I just can't get any information from GetPixelInfoPoint :-(


Log in to reply