[Bf-blender-cvs] [3f273fbc96c] lanpr-under-gp: LineArt: Update calculation progress on progress bar and cursor.

YimingWu noreply at git.blender.org
Tue Jul 7 12:05:41 CEST 2020


Commit: 3f273fbc96c3ec5c4797c1eb68a696b3a308f8b5
Author: YimingWu
Date:   Tue Jul 7 18:05:35 2020 +0800
Branches: lanpr-under-gp
https://developer.blender.org/rB3f273fbc96c3ec5c4797c1eb68a696b3a308f8b5

LineArt: Update calculation progress on progress bar and cursor.

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

M	source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c

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

diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
index 45fea96d174..a9a5cd62c24 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
@@ -139,7 +139,7 @@ static void generateStrokes(GpencilModifierData *md, Depsgraph *depsgraph, Objec
     /* Don't have data yet, update line art. Note:  ED_lineart_post_frame_update_external will
      * automatically return when calculation is already in progress.*/
     if (is_render) {
-      ED_lineart_post_frame_update_external(DEG_get_evaluated_scene(depsgraph), depsgraph);
+      ED_lineart_post_frame_update_external(NULL, DEG_get_evaluated_scene(depsgraph), depsgraph);
       while (!ED_lineart_modifier_sync_flag_check(LRT_SYNC_FRESH) ||
              !ED_lineart_calculation_flag_check(LRT_RENDER_FINISHED)) {
         /* Wait till it's done. */



More information about the Bf-blender-cvs mailing list