From 6dd8ceef2a21f64cbb61a96560c50c162f9dae39 Mon Sep 17 00:00:00 2001 From: Yiming Wu Date: Wed, 29 Jun 2022 22:54:29 +0800 Subject: LineArt: Shadow and related functionalities. This patch includes the full shadow functionality for LineArt: - Light contour and cast shadow lines. - Lit/shaded region selection. - Enclosed light/shadow shape calculation. - Silhouette/anti-silhouette selection. - Intersection priority based on shadow edge identifier. Reviewed By: Sebastian Parborg (zeddb) Differential Revision: https://developer.blender.org/D15109 --- release/scripts/startup/bl_ui/properties_collection.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'release/scripts/startup/bl_ui/properties_collection.py') diff --git a/release/scripts/startup/bl_ui/properties_collection.py b/release/scripts/startup/bl_ui/properties_collection.py index 220e35041c1..95debb259b0 100644 --- a/release/scripts/startup/bl_ui/properties_collection.py +++ b/release/scripts/startup/bl_ui/properties_collection.py @@ -96,6 +96,12 @@ class COLLECTION_PT_lineart_collection(CollectionButtonsPanel, Panel): if i == 3: row = col.row(align=True) + row = layout.row(heading="Intersection Priority") + row.prop(collection, "use_lineart_intersection_priority", text="") + subrow = row.row() + subrow.active = collection.use_lineart_intersection_priority + subrow.prop(collection, "lineart_intersection_priority", text="") + class COLLECTION_PT_collection_custom_props(CollectionButtonsPanel, PropertyPanel, Panel): _context_path = "collection" -- cgit v1.2.3