Cleanup: use "use_" prefix for boolean property
This commit is contained in:
@@ -448,7 +448,7 @@ static void options_light_reference_draw(const bContext *UNUSED(C), Panel *panel
|
||||
uiItemR(col, ptr, "shadow_camera_near", 0, "Near", ICON_NONE);
|
||||
uiItemR(col, ptr, "shadow_camera_far", 0, "Far", ICON_NONE);
|
||||
|
||||
uiItemR(layout, ptr, "shadow_enclosed_shapes", 0, IFACE_("Eclosed Shapes"), ICON_NONE);
|
||||
uiItemR(layout, ptr, "use_shadow_enclosed_shapes", 0, IFACE_("Eclosed Shapes"), ICON_NONE);
|
||||
}
|
||||
|
||||
static void options_panel_draw(const bContext *UNUSED(C), Panel *panel)
|
||||
|
@@ -3464,7 +3464,7 @@ static void rna_def_modifier_gpencillineart(BlenderRNA *brna)
|
||||
"affect cast shadow and light contour since they are at the border");
|
||||
RNA_def_property_update(prop, 0, "rna_GpencilModifier_dependency_update");
|
||||
|
||||
prop = RNA_def_property(srna, "shadow_enclosed_shapes", PROP_BOOLEAN, PROP_NONE);
|
||||
prop = RNA_def_property(srna, "use_shadow_enclosed_shapes", PROP_BOOLEAN, PROP_NONE);
|
||||
RNA_def_property_boolean_sdna(prop, NULL, "calculation_flags", LRT_SHADOW_ENCLOSED_SHAPES);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Shadow Enclosed Shapes",
|
||||
|
Reference in New Issue
Block a user