This commit is contained in:
Dion Moult
2021-09-21 10:33:03 +10:00
parent f83d13b97c
commit 1d1e051e0f
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ endif
cp -r blenderbim/* dist/blenderbim/
# Provides IfcOpenShell Python functionality
cd dist/working && wget https://s3.amazonaws.com/ifcopenshell-builds/ifcblender-python-$(PYNUMBER)-v0.6.0-2f3c79a-$(PLATFORM)64.zip
cd dist/working && wget https://s3.amazonaws.com/ifcopenshell-builds/ifcblender-python-$(PYNUMBER)-v0.6.0-721fe47-$(PLATFORM)64.zip
cd dist/working && unzip ifcblender*
cp -r dist/working/io_import_scene_ifc/ifcopenshell dist/blenderbim/libs/site/packages/
+1 -2
View File
@@ -332,8 +332,7 @@ class file(object):
If the entity already exists, it is not re-added."""
if self.transaction:
# TODO confirm this method of tracking added elements and use MaxId directly instead of FreshId
max_id = self.wrapped_data.FreshId()
max_id = self.wrapped_data.getMaxId()
inst.wrapped_data.this.disown()
result = entity_instance(self.wrapped_data.add(inst.wrapped_data, -1 if _id is None else _id), self)
if self.transaction: