This commit is contained in:
Andrej730
2024-09-18 18:44:29 +05:00
parent dbfa4ecf65
commit 5860c3fe50
2 changed files with 4 additions and 2 deletions
@@ -159,7 +159,9 @@ class BIMGeometryProperties(PropertyGroup):
should_force_triangulation: BoolProperty(name="Force Triangulation", default=False)
is_changing_mode: BoolProperty(name="Is Changing Mode", default=False)
mode: EnumProperty(items=get_mode, name="IFC Interaction Mode", update=update_mode)
representation_obj: PointerProperty(name="Representation Object", type=bpy.types.Object, update=update_representation_obj)
representation_obj: PointerProperty(
name="Representation Object", type=bpy.types.Object, update=update_representation_obj
)
item_objs: CollectionProperty(name="Item Objects", type=RepresentationItemObject)
def is_object_valid_for_representation_copy(self, obj: bpy.types.Object) -> bool:
+1 -1
View File
@@ -19,7 +19,7 @@
import os
import sys
if os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) == sys.path[0]:
if os.path.abspath(os.path.join(os.path.dirname(__file__), "..")) == sys.path[0]:
# Don't import ifcopenshell from local directory, because it most likely
# does not contain the built binary
sys.path[0:1] = []