[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.

Joshua Leung aligorith at gmail.com
Sun Oct 18 03:37:57 CEST 2009


This was causing the infamous problem in EditMode where holding ctrl while
transforming to snap the vertices would result in the selected vertices
being duplicated when the transform was confirmed. The ctrl-click extrude
was getting called in this case...

On Sun, Oct 18, 2009 at 2:33 PM, joe <joeedh at gmail.com> wrote:

> 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
>


More information about the Bf-committers mailing list