mechanical Blender

No Modal Transform


In blender user cannot move the scene while performing a transform, this is painful, especially if snap points are used

We removed the middle-mouse button action to set transformation constraint, wich can be set via keyboard


Changes on source are isolated via WITH_MECHANICAL_EXIT_TRANSFORM_MODAL compiler definition

Transform code has been modified to avoid returning OPERATOR_RUNNING_MODAL

The 3D position is stored and used instead of 2D screen cordinates. This is to avoid problems as a fixed 2D screen coordinate is not valid projection matrix changes.

We disabled use of virtual_mval (hardcoded enable?) as was conflicting , work there should be done if this needed.


Has not been tested with non default keymap

Has not been fully tested in other areas of Blender



Jaume Bellet