Commit: 29d02c7c30845efcb588b2116ee94106cdbdacba
Author: YimingWu
Date:   Thu Jun 11 12:55:23 2020 +0800
Branches: lanpr-under-gp
https://developer.blender.org/rB29d02c7c30845efcb588b2116ee94106cdbdacba

LANPR: Fix baking finish flag.

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

M       source/blender/editors/lanpr/lanpr_cpu.c

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

diff --git a/source/blender/editors/lanpr/lanpr_cpu.c 
b/source/blender/editors/lanpr/lanpr_cpu.c
index fa6e6ccbe78..2ddfad09ce6 100644
--- a/source/blender/editors/lanpr/lanpr_cpu.c
+++ b/source/blender/editors/lanpr/lanpr_cpu.c
@@ -4338,6 +4338,8 @@ static int lanpr_bake_gp_strokes_exec(bContext *C, 
wmOperator *UNUSED(op))
     lanpr_update_gp_strokes_collection(dg, scene->master_collection, frame, 0, 
NULL);
   }
 
+  ED_lanpr_calculation_set_flag(LANPR_RENDER_FINISHED);
+
   WM_event_add_notifier(C, NC_GPENCIL | ND_DATA | NA_EDITED | 
ND_SPACE_PROPERTIES, NULL);
 
   return OPERATOR_FINISHED;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to