Renovating this code
This commit is contained in:
@@ -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']
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user