Renovating this code

This commit is contained in:
2025-11-05 19:58:51 -08:00
parent f7c9def9bf
commit 8964bb030b
4 changed files with 51 additions and 22 deletions

View File

@@ -1,4 +1,6 @@
def all_speakers(scene):
import bpy
def all_speakers(scene: bpy.types.Scene) -> list[bpy.types.Object]:
return [obj for obj in scene.objects if obj.type == 'SPEAKER']