[Bf-committers] Transform tool tweaks - Patch available

Martin Poirier theeth at yahoo.com
Wed Jan 18 04:37:03 CET 2012


Hi Jorge,

I'll be looking at this as soon as I have time (probably on Thursday).

Some of the changes (confirming with release among others) are stuff that I tried early on while porting transform to the 2.5 operator system and should be doable with the current keymap setup. If you want a workflow that isn't currently possible with the customization that exists, I generally think it's better to make the system flexible enough to support both (which might be what you did, haven't looked at the patch yet) and then discuss what the default keymaps/options should be.


I'll get back to you once I've had a good look at your patch.

Thanks,


Martin


>________________________________
> From: Jorge Rodriguez <jorge at lunarworkshop.com>
>To: bf-blender developers <bf-committers at blender.org> 
>Sent: Tuesday, January 17, 2012 9:25:07 PM
>Subject: Re: [Bf-committers] Transform tool tweaks - Patch available
> 
>The patch is now available here:
>
>http://projects.blender.org/tracker/index.php?func=detail&aid=29919&group_id=9&atid=127
>
>I would love it if people could try it out and inform me of any problems or
>suggestions. I would be happy to update the patch given feedback.
>
>Following is a reprint of the patch description:
>
>This patch is against svn r43478
>
>Changes:
>
>* Pressing the grab/rotate/resize button while the tool is already active
>will cause the tool to confirm the current transformation. In the case of
>switching rotation modes, this functionality has been moved to Shift-R
>instead.
>* When using a transform tool bound to right click, right clicking will
>confirm instead of cancel; otherwise it will cancel like before.
>* Holding a transform button/key will drag the object. If the user holds
>for longer than 250ms or farther than 10 pixels then the action is treated
>like a drag and when the key is released the transformation is
>automatically confirmed.
>
>Notes:
>
>* This patch removes some duplicate code in the modal handler for transform
>events.
>* In order to support this patch some slight changes have been made in the
>way handler operators are called. Duplicate button/key presses are now
>filtered by the handler and not sent to the operator, and information about
>the handler/keymapitem which invoked the operator (if any) have been added
>to the wmOperator structure.
>* The previous event state also now includes the "prevkeytime" - the time
>that the previous keyboard key was pressed.
>
>Justification:
>
>This patch attempts to improve the usability of the transformation tools by
>implementing behavior which most users will expect. If a button is pressed
>once to activate a tool, than users can expect to be able to press that
>same button again to deactivate the tool. If the user presses and holds the
>button then the functionality should remain active for as long an the
>button is held down and then deactivate when it is released.
>
>In order to implement this behavior, the behavior when pressing the
>rotation button twice had to be changed. Before, the second press toggled
>the rotation type. This functionality has been moved to Shift-R. I
>recommend that the default bindings also be changed so that Shift-R
>activates rotation directly in trackball mode, to reduce the number of key
>presses required to access that mode. I feel that while the different
>behavior may cause some friction for some current Blender users, the new
>features should help users, new users especially, feel more comfortable
>with Blender.
>
>-- 
>Jorge "Vino" Rodriguez
>jorge at lunarworkshop.com
>twitter: VinoBS
>919.757.3066
>_______________________________________________
>Bf-committers mailing list
>Bf-committers at blender.org
>http://lists.blender.org/mailman/listinfo/bf-committers
>
>
>


More information about the Bf-committers mailing list