#NEWLINE# @ classmethod #NEWLINE# def get_shot_cameras( cls ) : #NEWLINE# #INDENT# cameras = [ ] #NEWLINE# for shot in pm . sequenceManager ( listShots = 1 ) : #NEWLINE# #INDENT# camera_name = pm . shot ( shot , q = 1 , cc = 1 ) #NEWLINE# camera = pm . PyNode ( camera_name ) #NEWLINE# if isinstance ( camera , pm . nt . Transform ) : #NEWLINE# #INDENT# camera = camera . getShape ( ) #NEWLINE# #UNINDENT# cameras . append ( camera_name ) #NEWLINE# #UNINDENT# return cameras