[Bf-blender-cvs] [302d9b38a7e] lanpr-under-gp: LineArt: No need to use DEG_SCENE_PARAMETERS now because we have good object relations.

YimingWu noreply at git.blender.org
Tue Jul 7 10:40:29 CEST 2020


Commit: 302d9b38a7e9070e7a7e40a86a9ad7b6e12f75aa
Author: YimingWu
Date:   Tue Jul 7 16:40:23 2020 +0800
Branches: lanpr-under-gp
https://developer.blender.org/rB302d9b38a7e9070e7a7e40a86a9ad7b6e12f75aa

LineArt: No need to use DEG_SCENE_PARAMETERS now because we have good object relations.

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

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 0dc528af926..45fea96d174 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillineart.c
@@ -224,8 +224,6 @@ static void updateDepsgraph(GpencilModifierData *md,
       }
     }
     FOREACH_COLLECTION_VISIBLE_OBJECT_RECURSIVE_END;
-
-    DEG_add_scene_relation(ctx->node, ctx->scene, DEG_SCENE_COMP_PARAMETERS, "Line Art Modifier");
   }
   DEG_add_object_relation(
       ctx->node, ctx->scene->camera, DEG_OB_COMP_TRANSFORM, "Line Art Modifier");



More information about the Bf-blender-cvs mailing list