Open yankscally opened 3 months ago
These docs spring to mind as something that might be helpful:
https://docs.blender.org/api/current/bpy.types.Operator.html
There's an example in here of modal code with the proper event type:
I remember toying around with it, you can crash blender real fast if you don't specify the proper event time or if you try to print to console every event process.
going to attempt to use hotkeys to setup operators that allows navigation and editing at the same time.. hopefully
example from Valy:
AlxEditKeymaps(KeyconfigSource="Blender", ConfigSpaceName="3D View", ItemidName="view3d.move", MapType="KEYBOARD", Key="GRLESS", UseShift=True, Active=True)
view3d.move is the op to move the viewport around.