Mouse middle-button: Orbit vs MyTool
-
The behavior associated with the Orbit Tool is very useful (activation over any tool by the mouse middle-button). Now I created "MyOrbit tool" and would like it behave as the standard Orbit tool (kind of replace it).
Is that possible ? (or should it goto Ruby API WishList ?)
Thank you
Marcio -
Ive got a feeling you can use the middle mouse button in SU ruby because its 'broken.' Sorry i cant give you more details, although i think there was a short thread about it recently (in this forum.)
-
Yes, the onMButtonDown API when used inside any new tool "is broken". I already included a fix for that on the "WishList" stick.
But now I realized the need of more than that. Something that works above the level of the tools - where onMButtonDown is. Maybe a new API like "Sketchup::onGlobalMButtonDown" that allows to associate my new Orbit tool to this trigger (and so, disassociate the default Orbit tool from that).
I would like to know if there is any workaround (maybe change something on CameraOrbitTool class - where is this class?) before include this "Sketchup::onGlobalMButtonDown" on the WishList.
Thank you.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement