()
| 38 | |
| 39 | |
| 40 | def clear_lights(): |
| 41 | bpy.ops.object.select_all(action="DESELECT") |
| 42 | for obj in bpy.context.scene.objects.values(): |
| 43 | if isinstance(obj.data, bpy.types.Light): |
| 44 | obj.select_set(True) |
| 45 | bpy.ops.object.delete() |
| 46 | |
| 47 | |
| 48 | def import_model(path): |
no outgoing calls
no test coverage detected