Skip to content

Commit

Permalink
all attributes in the FACE domain of BOOLEAN type are now shown
Browse files Browse the repository at this point in the history
  • Loading branch information
varkenvarken committed Nov 7, 2024
1 parent 295ff45 commit 28620cc
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions facemap_select.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
bl_info = {
"name": "FacemapSelect",
"author": "Michel Anders (varkenvarken) with contribution from Andrew Leichter (aleichter) and Tyo79",
"version": (0, 0, 20241107132244),
"version": (0, 0, 20241107135318),
"blender": (4, 0, 0),
"location": "Edit mode 3d-view, Select- -> From facemap | Create facemap",
"description": "Select faces based on the active boolean facemap or create a new facemap",
Expand Down Expand Up @@ -197,7 +197,11 @@ class MESH_UL_fmaps(UIList):
def filter_items(self, context, data, propname):
items = getattr(data, propname)
flt_flags = [
self.bitflag_filter_item if item.name.startswith("FaceMap") else 0
(
self.bitflag_filter_item
if item.domain == "FACE" and item.data_type == "BOOLEAN"
else 0
)
for item in items
]
return flt_flags, []
Expand Down

0 comments on commit 28620cc

Please sign in to comment.