Hi all,
I was working on a tool when I was unable to assign actions to the right mouse button clic using the onRButtonDown tool method. Using the Sketchup debugger I was unable to reach my brake point inside the tool onRButtonDown method…
def onRButtonDown(arg_flags, arg_x, arg_y, arg_view)
#Remove the last position recorded
@picked_positions.pop
#Force view to be refreshed and redrawn
arg_view.refresh
end
When I switch from the onRButtonDown to the onRButtonUp everything works fine. Does anyone notice this before? That sounds strange to me so I’m posting it here to double check my experience on this (I’m using SU2019 19.0.685 64-bit on Windows)
Thanks for your feedbacks.