Fix T64283: Gizmo doesn't update after click-extrude
This commit is contained in:
parent
f8def6db50
commit
700c69ad08
Notes:
blender-bot
2023-02-14 08:45:12 +01:00
Referenced by issue #64283, Object Gizmo(s) don't move to new point after curve extrusion, and related crashes (silent exits)
|
@ -5551,6 +5551,8 @@ static int add_vertex_exec(bContext *C, wmOperator *op)
|
|||
}
|
||||
|
||||
WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit->data);
|
||||
WM_event_add_notifier(C, NC_GEOM | ND_SELECT, obedit->data);
|
||||
|
||||
DEG_id_tag_update(obedit->data, 0);
|
||||
|
||||
return OPERATOR_FINISHED;
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
#include "RNA_access.h"
|
||||
|
||||
#include "WM_types.h"
|
||||
#include "WM_api.h"
|
||||
|
||||
#include "ED_mesh.h"
|
||||
#include "ED_screen.h"
|
||||
|
@ -860,6 +861,9 @@ static int edbm_dupli_extrude_cursor_invoke(bContext *C, wmOperator *op, const w
|
|||
EDBM_mesh_normals_update(vc.em);
|
||||
|
||||
EDBM_update_generic(vc.em, true, true);
|
||||
|
||||
WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit->data);
|
||||
WM_event_add_notifier(C, NC_GEOM | ND_SELECT, obedit->data);
|
||||
}
|
||||
MEM_freeN(objects);
|
||||
|
||||
|
|
Loading…
Reference in New Issue