diff options
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_collection.py | 6 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/properties_material.py | 6 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/properties_object.py | 6 |
3 files changed, 18 insertions, 0 deletions
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" diff --git a/release/scripts/startup/bl_ui/properties_material.py b/release/scripts/startup/bl_ui/properties_material.py index 44fa93054d3..ba6ed9ae6a2 100644 --- a/release/scripts/startup/bl_ui/properties_material.py +++ b/release/scripts/startup/bl_ui/properties_material.py @@ -287,6 +287,12 @@ class MATERIAL_PT_lineart(MaterialButtonsPanel, Panel): row = layout.row(align=True, heading="Custom Occlusion") row.prop(lineart, "mat_occlusion", text="Levels") + row = layout.row(heading="Intersection Priority") + row.prop(lineart, "use_intersection_priority_override", text="") + subrow = row.row() + subrow.active = lineart.use_intersection_priority_override + subrow.prop(lineart, "intersection_priority", text="") + classes = ( MATERIAL_MT_context_menu, diff --git a/release/scripts/startup/bl_ui/properties_object.py b/release/scripts/startup/bl_ui/properties_object.py index 904c2af3a5e..7afa2f81b97 100644 --- a/release/scripts/startup/bl_ui/properties_object.py +++ b/release/scripts/startup/bl_ui/properties_object.py @@ -317,6 +317,12 @@ class OBJECT_PT_lineart(ObjectButtonsPanel, Panel): subrow.active = lineart.use_crease_override subrow.prop(lineart, "crease_threshold", slider=True, text="") + row = layout.row(heading="Intersection Priority") + row.prop(lineart, "use_intersection_priority_override", text="") + subrow = row.row() + subrow.active = lineart.use_intersection_priority_override + subrow.prop(lineart, "intersection_priority", text="") + class OBJECT_PT_motion_paths(MotionPathButtonsPanel, Panel): #bl_label = "Object Motion Paths" |