This is a fix for https://developer.blender.org/T38087
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
here it's applied only on the editmesh till its accepted ... after that the same changes will applied to the lattices, curves ... etc.
Comment Actions
Generally looks ok, about having switch inside the loop, IMHO it would be better to have ED_base_object_select(base, select); and similar for other modes, if we need to add a switch later for a 3rd action, it can be done at that time.
| source/blender/editors/mesh/editmesh_select.c | ||
|---|---|---|
| 2758 | In this case you could use EDBM_deselect_flush / EDBM_select_flush which is simpler since we know the selection is only being added or removed. | |
| source/blender/editors/object/object_lattice.c | ||
| 203 | This only needs to be done on de-selection, when adding to the selection the active element can stay. | |
Comment Actions
Committed rB7ae1949517a41fbc46ca452f3fa40e7079273503 with some edits.
- moved select_actions into a function.
- changed loop/switch logic in places