[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23903] trunk/blender/source/blender/ editors/mesh/mesh_ops.c: Temporary remap extrude to Ctrl+Alt+Click, to avoid conflict with transform.

Martin Poirier theeth at yahoo.com
Sun Oct 18 03:52:22 CEST 2009


Because it's mapped to "release" whereas transform uses "press" for confirm, which means that holding down Ctrl during transform and then confirming also extruded when the mouse button was released (only ctrl was released first).

Martin

--- On Sat, 10/17/09, joe <joeedh at gmail.com> wrote:

> From: joe <joeedh at gmail.com>
> Subject: Re: [Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23903] trunk/blender/source/blender/ editors/mesh/mesh_ops.c: Temporary remap extrude to Ctrl+Alt+Click, to avoid conflict with transform.
> To: bf-committers at blender.org
> Received: Saturday, October 17, 2009, 9:33 PM
> Why does this conflict with
> transform?
> 
> On Sat, Oct 17, 2009 at 7:45 AM, Martin Poirier <theeth at yahoo.com>
> wrote:
> > Revision: 23903
> >          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23903
> > Author:   theeth
> > Date:     2009-10-17 16:45:49 +0200 (Sat, 17 Oct
> 2009)
> >
> > Log Message:
> > -----------
> > Temporary remap extrude to Ctrl+Alt+Click, to avoid
> conflict with transform.
> >
> > Modified Paths:
> > --------------
> >  
>  trunk/blender/source/blender/editors/mesh/mesh_ops.c
> >
> > Modified:
> trunk/blender/source/blender/editors/mesh/mesh_ops.c
> >
> ===================================================================
> > ---
> trunk/blender/source/blender/editors/mesh/mesh_ops.c    
>    2009-10-17 14:08:01 UTC (rev 23902)
> > +++
> trunk/blender/source/blender/editors/mesh/mesh_ops.c    
>    2009-10-17 14:45:49 UTC (rev 23903)
> > @@ -267,8 +267,10 @@
> >        RNA_string_set(kmi->ptr, "name",
> "INFO_MT_mesh_add");
> >
> >        WM_keymap_add_item(keymap,
> "MESH_OT_separate", PKEY, KM_PRESS, 0, 0);
> > -                                  
>             /* use KM_RELEASE because same key is used
> for tweaks */
> > -       WM_keymap_add_item(keymap,
> "MESH_OT_dupli_extrude_cursor", LEFTMOUSE, KM_RELEASE,
> KM_CTRL, 0);
> > +                                  
>             /* use KM_RELEASE because same key is used
> for tweaks
> > +                                  
>              * TEMPORARY REMAP TO ALT+CTRL TO AVOID
> CONFLICT
> > +                                  
>              * */
> > +       WM_keymap_add_item(keymap,
> "MESH_OT_dupli_extrude_cursor", LEFTMOUSE, KM_RELEASE,
> KM_CTRL|KM_ALT, 0);
> >
> >        WM_keymap_add_item(keymap,
> "MESH_OT_delete", XKEY, KM_PRESS, 0, 0);
> >        WM_keymap_add_item(keymap,
> "MESH_OT_delete", DELKEY, KM_PRESS, 0, 0);
> >
> >
> > _______________________________________________
> > Bf-blender-cvs mailing list
> > Bf-blender-cvs at blender.org
> > http://lists.blender.org/mailman/listinfo/bf-blender-cvs
> >
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
> 


      __________________________________________________________________
Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com


More information about the Bf-committers mailing list