mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 02:31:09 +00:00
Fix #983. Minor fix.
This commit is contained in:
@@ -3993,7 +3993,7 @@ class RefreshDrawingList(bpy.types.Operator):
|
|||||||
def execute(self, context):
|
def execute(self, context):
|
||||||
while len(bpy.context.scene.DocProperties.drawings) > 0:
|
while len(bpy.context.scene.DocProperties.drawings) > 0:
|
||||||
bpy.context.scene.DocProperties.drawings.remove(0)
|
bpy.context.scene.DocProperties.drawings.remove(0)
|
||||||
for obj in bpy.data.objects:
|
for obj in bpy.context.scene.objects:
|
||||||
if not isinstance(obj.data, bpy.types.Camera):
|
if not isinstance(obj.data, bpy.types.Camera):
|
||||||
continue
|
continue
|
||||||
if 'IfcGroup/' in obj.name and obj.users_collection[0].name == obj.name:
|
if 'IfcGroup/' in obj.name and obj.users_collection[0].name == obj.name:
|
||||||
|
|||||||
Reference in New Issue
Block a user