Gizmo: fix extrude handles
Only use the 2D selection function when 3D selection isn't defined.
Regression from e18a2c4ed7
This commit is contained in:
parent
066afa2198
commit
49fa58e330
Notes:
blender-bot
2023-02-14 10:18:56 +01:00
Referenced by issue #57212, Extrude Tool Todo
|
@ -569,7 +569,8 @@ static wmGizmo *gizmo_find_intersected_3d(
|
|||
int select_id = 0;
|
||||
for (LinkData *link = visible_gizmos->first; link; link = link->next, select_id++) {
|
||||
wmGizmo *gz = link->data;
|
||||
if (gz->type->test_select) {
|
||||
/* With both defined, favor the 3D, incase the manipulator can be used in 2D or 3D views. */
|
||||
if (gz->type->test_select && (gz->type->draw_select == NULL)) {
|
||||
if ((*r_part = gz->type->test_select(C, gz, co)) != -1) {
|
||||
hit = select_id;
|
||||
result = gz;
|
||||
|
|
Loading…
Reference in New Issue