feat: replay duration

This commit is contained in:
Swann
2021-12-08 17:42:20 +01:00
parent 3a4f691b8f
commit fe998214be
3 changed files with 56 additions and 26 deletions

View File

@ -588,10 +588,13 @@ class SESSION_PT_replay(bpy.types.Panel):
if settings.replay_mode == 'MANUAL':
row.prop(bpy.context.scene, 'active_replay_file', text="Snapshot index")
else:
row.prop(settings, 'replay_interval', text="interval (frame)")
row.prop(settings, 'replay_duration', text="Replay Duration")
row= layout.row()
row.prop(settings, 'replay_persistent_collection', text="persistent collection", toggle=True, icon='OUTLINER_COLLECTION')
if settings.replay_persistent_collection:
row= layout.row()
row.prop(settings, 'replay_camera', text="", icon='VIEW_CAMERA')
class SESSION_PT_repository(bpy.types.Panel):
bl_idname = "MULTIUSER_PROPERTIES_PT_panel"