mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 06:32:09 +00:00
notes for loading indexed maps
This commit is contained in:
@@ -506,6 +506,8 @@ class Loader(bonsai.core.tool.Loader):
|
|||||||
continue
|
continue
|
||||||
# It's unclear what has priority, styled by item or indexed maps
|
# It's unclear what has priority, styled by item or indexed maps
|
||||||
# Given that indexed maps currently are super expensive, I'll prioritise styled by item
|
# Given that indexed maps currently are super expensive, I'll prioritise styled by item
|
||||||
|
# May lead to issues if external style is using vertex colors
|
||||||
|
# but probably don't need to worry about until we add a way save vertex colors to indexed map in BBIM.
|
||||||
if item.StyledByItem:
|
if item.StyledByItem:
|
||||||
continue
|
continue
|
||||||
colours.extend(item.HasColours)
|
colours.extend(item.HasColours)
|
||||||
@@ -589,6 +591,7 @@ class Loader(bonsai.core.tool.Loader):
|
|||||||
|
|
||||||
if data_index is None:
|
if data_index is None:
|
||||||
# This face may be part of another representation item
|
# This face may be part of another representation item
|
||||||
|
# Or we couldn't match it due to georeferencing.
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# apply uv to each loop
|
# apply uv to each loop
|
||||||
|
|||||||
Reference in New Issue
Block a user