Commit: ff3cc4e2e2ecccf42e2cd4403178f5996e9ce22a
Author: Falk David
Date:   Wed Feb 2 17:24:35 2022 +0100
Branches: greasepencil-object
https://developer.blender.org/rBff3cc4e2e2ecccf42e2cd4403178f5996e9ce22a

Fix typo

===================================================================

M       source/blender/editors/gpencil/gpencil_undo.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_undo.c 
b/source/blender/editors/gpencil/gpencil_undo.c
index 47f20b61a98..4ea718abe69 100644
--- a/source/blender/editors/gpencil/gpencil_undo.c
+++ b/source/blender/editors/gpencil/gpencil_undo.c
@@ -431,7 +431,7 @@ static bool gpencil_undosys_step_encode(struct bContext *C,
   }
   /* If the ID of the grease pencil object was not tagged or the update cache 
is empty, we assume
    * the data hasn't changed. */
-  else if ((gpd->id.flag & ID_RECALC_ALL) == 0 && gpd->runtime.update_cache == 
NULL) {
+  else if ((gpd->id.recalc & ID_RECALC_ALL) == 0 && gpd->runtime.update_cache 
== NULL) {
     /* If the previous step is of our undo system, check if the frame changed. 
*/
     if (undo_stack->step_active && undo_stack->step_active->type == 
BKE_UNDOSYS_TYPE_GPENCIL) {
       GPencilUndoStep *us_prev = (GPencilUndoStep *)undo_stack->step_active;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to