Hi,

--- On Fri, 4/30/10, Charles Wardlaw <cward...@marchentertainment.com> wrote:

> Hi all,
> 
> In the latest SVN build, when you zoom it no longer
> releases after you let go of the mouse button.  I set
> my zoom to Control + Alt + LMB.  I can zoom just fine,
> but when I release the mouse button the zoom stays on,
> turning into a rotate if I let go of the alt key.
> 
> I fixed this by modifying the 3D Zoom modal to release on
> any mouse click, not just middle (which is the default), and
> now it behaves "normally."  This is similar to the
> issue where strokes in sculpting continue after releasing
> the mouse.
> 
> If the user changes the zoom shortcut, it makes sense for
> that change to cascade to a release of any of the buttons
> required to begin the zoom operator.  Is there a way to
> do that?  I don't think a lot of users are going to
> understand that they have to modify the press and release
> just to get one perceived key map to change.

I think the best solution in this case is to introduce a special event type 
called "Invoke Event", usable only in modal keymaps. Invoke Event would be the 
event type that resulted in the operator's invocation (it would be stored in 
the Operator instance.

With this, modal keymaps would directly adjust themselves when operators are 
remapped or if they are mapped to different events at the same time.

Of course, that wouldn't cover all cases, but I think it would take care of the 
majority.

Transform already uses a variation of that internally for the manipulator and 
tweak mode.

Martin


_______________________________________________
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to