GPv3: Curve to Mesh node #113659
|
@ -11,6 +11,8 @@
|
|||
|
||||
#include "BLT_translation.h"
|
||||
|
||||
#include "DEG_depsgraph.hh"
|
||||
|
||||
#include "UI_interface.hh"
|
||||
#include "UI_tree_view.hh"
|
||||
|
||||
|
@ -118,8 +120,9 @@ class LayerNodeDropTarget : public TreeViewItemDropTarget {
|
|||
return false;
|
||||
}
|
||||
}
|
||||
WM_event_add_notifier(C, NC_GPENCIL | NA_EDITED, nullptr);
|
||||
|
||||
DEG_id_tag_update(&grease_pencil.id, ID_RECALC_GEOMETRY);
|
||||
WM_event_add_notifier(C, NC_GPENCIL | NA_EDITED, nullptr);
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue