LineArt: UI hint for using intersection filtering #104767

Open
YimingWu wants to merge 3 commits from ChengduLittleA/blender:lineart_ui_optimization into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
2 changed files with 6 additions and 2 deletions

View File

@ -381,7 +381,7 @@ static void edge_types_panel_draw(const bContext *UNUSED(C), Panel *panel)
ICON_NONE);
}
uiItemR(col, ptr, "use_intersection", 0, IFACE_("Intersections"), ICON_NONE);
uiItemR(col, ptr, "use_intersection", 0, IFACE_("Global Intersections"), ICON_NONE);
uiItemR(col, ptr, "use_material", 0, IFACE_("Material Borders"), ICON_NONE);
uiItemR(col, ptr, "use_edge_mark", 0, IFACE_("Edge Marks"), ICON_NONE);
uiItemR(col, ptr, "use_loose", 0, IFACE_("Loose"), ICON_NONE);

View File

@ -3805,7 +3805,11 @@ static void rna_def_modifier_gpencillineart(BlenderRNA *brna)
prop = RNA_def_property(srna, "use_intersection", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "edge_types", LRT_EDGE_FLAG_INTERSECTION);
RNA_def_property_ui_text(prop, "Use Intersection", "Generate strokes from intersections");
RNA_def_property_ui_text(
prop,
"Use Intersection",
"Enables the intersections detected between all objects contained in the scene to be drawn "
"in this lineart (Use collection intersection mask combinations to filter)");
Review

No need for the . at the end.

No need for the `.` at the end.
RNA_def_property_update(prop, 0, "rna_GpencilModifier_update");
prop = RNA_def_property(srna, "use_light_contour", PROP_BOOLEAN, PROP_NONE);