mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 10:51:13 +00:00
Fix crash when switching between git revisions
This commit is contained in:
@@ -285,9 +285,6 @@ class IfcGit:
|
|||||||
for obj in blender_collection.objects:
|
for obj in blender_collection.objects:
|
||||||
bpy.data.objects.remove(obj, do_unlink=True)
|
bpy.data.objects.remove(obj, do_unlink=True)
|
||||||
bpy.data.collections.remove(blender_collection)
|
bpy.data.collections.remove(blender_collection)
|
||||||
for collection in bpy.data.collections:
|
|
||||||
if not collection.users:
|
|
||||||
bpy.data.collections.remove(collection)
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def is_valid_branch_name(cls, new_branch_name):
|
def is_valid_branch_name(cls, new_branch_name):
|
||||||
|
|||||||
Reference in New Issue
Block a user