GPv3: Multi-frame editing #114283

Merged
Falk David merged 14 commits from filedescriptor/blender:gpv3-multi-frame-editing into main 2023-11-02 17:11:07 +01:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 46bcda51bb - Show all commits

View File

@ -887,7 +887,7 @@ static void rna_active_grease_pencil_update(bContext *C, PointerRNA * /*ptr*/)
return;
}
GreasePencil *grease_pencil = static_cast<GreasePencil *>(active_object->data);
DEG_id_tag_update(&grease_pencil->id, ID_RECALC_SHADING);
DEG_id_tag_update(&grease_pencil->id, ID_RECALC_GEOMETRY);
filedescriptor marked this conversation as resolved Outdated

ID_RECALC_SHADING might be better here, to avoid recalculating the object unnecessarily

`ID_RECALC_SHADING` might be better here, to avoid recalculating the object unnecessarily
WM_main_add_notifier(NC_GPENCIL | NA_EDITED, nullptr);
}
# endif