Fix crash when switching between git revisions

This commit is contained in:
Bruno Postle
2023-04-26 23:50:36 +01:00
parent 9131578807
commit c806f924ec
-3
View File
@@ -285,9 +285,6 @@ class IfcGit:
for obj in blender_collection.objects:
bpy.data.objects.remove(obj, do_unlink=True)
bpy.data.collections.remove(blender_collection)
for collection in bpy.data.collections:
if not collection.users:
bpy.data.collections.remove(collection)
@classmethod
def is_valid_branch_name(cls, new_branch_name):