Blender Git Loki

Git Commits -> Revision 19e1d05

Revision 19e1d05 by Nathan Vegdahl (master)
May 24, 2012, 21:05 (GMT)
Modifications to the view3d.select() operator:

1. Two new boolean options have been added to the operator: "deselect"
and "toggle".
2. The previous behavior of "extend" (toggling the selection) has
been moved to the "toggle" option.
3. "extend" now only extends the selection, it never deselects.
4. "deselect" is pretty self-explanatory: it deselects (i.e. opposite
of extend).
5. The built-in keymap has been changed to use "toggle" where
"extend" was used before for this operator, to maintain the
previous behavior in the default keymap.

In short, this works towards making "extend" and "deselect" fully
consistent across all selection tools (adding to and removing from
selection, respectively), but still preserves the old behavior
as well.

(Patch reviewed by Brecht.)

Commit Details:

Full Hash: 19e1d05461abafc32b5d952d5121f765f4208f94
SVN Revision: 46986
Parent Commit: 9dc161e
Lines Changed: +274, -86

15 Modified Paths:

/source/blender/editors/armature/editarmature.c (+53, -21) (Diff)
/source/blender/editors/curve/editcurve.c (+41, -8) (Diff)
/source/blender/editors/include/ED_armature.h (+2, -2) (Diff)
/source/blender/editors/include/ED_curve.h (+1, -1) (Diff)
/source/blender/editors/include/ED_mball.h (+1, -1) (Diff)
/source/blender/editors/include/ED_mesh.h (+2, -2) (Diff)
/source/blender/editors/include/ED_object.h (+1, -1) (Diff)
/source/blender/editors/include/ED_particle.h (+1, -1) (Diff)
/source/blender/editors/mesh/editface.c (+8, -2) (Diff)
/source/blender/editors/mesh/editmesh_select.c (+58, -11) (Diff)
/source/blender/editors/metaball/mball_edit.c (+15, -8) (Diff)
/source/blender/editors/object/object_lattice.c (+13, -5) (Diff)
/source/blender/editors/physics/particle_edit.c (+29, -3) (Diff)
/source/blender/editors/space_view3d/view3d_ops.c (+19, -3) (Diff)
/source/blender/editors/space_view3d/view3d_select.c (+30, -17) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021