diff options
author | YimingWu <xp8110@outlook.com> | 2021-06-29 15:47:55 +0300 |
---|---|---|
committer | YimingWu <xp8110@outlook.com> | 2021-06-29 15:47:55 +0300 |
commit | d1e0059eac99654624edee2a2390a3e2fdc4c7cb (patch) | |
tree | 3983e4f1b78fa3bd85e5cb16a0a010e4e3351815 /release | |
parent | 5d5cf5308129f1632cd6e303df52dadf63026675 (diff) |
LineArt: Filtering intersection lines using mask numbers
Mask value works just like transparency mask.
You are able to select intersection lines inside a
collection or, between collections.
Reviewed By: Sebastian Parborg (zeddb)
Differential Revision: https://developer.blender.org/D11309
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_collection.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_collection.py b/release/scripts/startup/bl_ui/properties_collection.py index 5a98e638992..27de80bb88d 100644 --- a/release/scripts/startup/bl_ui/properties_collection.py +++ b/release/scripts/startup/bl_ui/properties_collection.py @@ -86,6 +86,13 @@ class COLLECTION_PT_lineart_collection(CollectionButtonsPanel, Panel): row = layout.row() row.prop(collection, "lineart_usage") + layout.prop(collection, "lineart_use_intersection_mask") + + row = layout.row(align=True, heading="Masks") + row.active = collection.lineart_use_intersection_mask + for i in range(0,8): + row.prop(collection, "lineart_intersection_mask", index=i, text=str(i), toggle=True) + classes = ( COLLECTION_PT_collection_flags, |