[Bf-blender-cvs] [bfdf868ff59] temp-lineart-contained: LineArt: Update deps for selecting camera/light

YimingWu noreply at git.blender.org
Wed Jun 23 09:54:03 CEST 2021


Commit: bfdf868ff59975c0c41a58f4874fd1232ed80947
Author: YimingWu
Date:   Wed Jun 23 15:36:50 2021 +0800
Branches: temp-lineart-contained
https://developer.blender.org/rBbfdf868ff59975c0c41a58f4874fd1232ed80947

LineArt: Update deps for selecting camera/light

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

M	source/blender/makesrna/intern/rna_gpencil_modifier.c

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

diff --git a/source/blender/makesrna/intern/rna_gpencil_modifier.c b/source/blender/makesrna/intern/rna_gpencil_modifier.c
index 45ea2335d09..df7b0d3eeaa 100644
--- a/source/blender/makesrna/intern/rna_gpencil_modifier.c
+++ b/source/blender/makesrna/intern/rna_gpencil_modifier.c
@@ -2756,7 +2756,7 @@ static void rna_def_modifier_gpencillineart(BlenderRNA *brna)
   RNA_def_property_boolean_sdna(prop, NULL, "calculation_flags", LRT_USE_CUSTOM_CAMERA);
   RNA_def_property_ui_text(
       prop, "Use Custom Camera", "Use custom camera instead of the active camera");
-  RNA_def_property_update(prop, NC_SCENE, "rna_GpencilModifier_update");
+  RNA_def_property_update(prop, 0, "rna_GpencilModifier_dependency_update");
 
   prop = RNA_def_property(srna, "use_fuzzy_intersections", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "calculation_flags", LRT_INTERSECTION_AS_CONTOUR);



More information about the Bf-blender-cvs mailing list