[Bug?] Pan "on border": Is this a known bug ?
-
Please, see below if this is a known bug. Is there any way to prevent this (using API) ?
Thank you
MarcioScenario
- Create a simple plugin (Tool) with the code below
- Activate the Tool ("t1" on Ruby Console)
- Drag the mouse with LButton down
- Keep moving the mouse towards the window frame borders
- The view will remain the same (as expected) but ...
When the mouse is over the frame border (still with LButton down) the view will start to PAN. PAN down if the mouse is over top border, PAN right if mouse on left border and so on.
class ToolTest
nothing, empty
end
def t1
Sketchup.active_model.select_tool(ToolTest.new)
end -
As far as I know, that is the intended behavior, consistent with how the native tools work.
-
Well, I wonder why this SketchUP behavior ( starts to PAN when the mouse gets over the window frame border ) for API tools is normal. It's like as Orbit+Shift became active. What is the logic behind that ?
Thank you
Marcio -
I think it was intended to avoid having to switch to Pan mode while drawing things.
Advertisement