1 # SPDX-License-Identifier: GPL-3.0-or-later
2 # Copyright 2016-2020 by Nathan Lovato, Daniel Oakey, Razvan Radulescu, and contributors
4 # This file is part of Power Sequencer.
9 class PowerSequencerProperties(bpy
.types
.PropertyGroup
):
10 playback_speed
: bpy
.props
.EnumProperty(
12 ("NORMAL", "Normal (1x)", ""),
13 ("FAST", "Fast (1.33x)", ""),
14 ("FASTER", "Faster (1.66x)", ""),
15 ("DOUBLE", "Double (2x)", ""),
16 ("TRIPLE", "Triple (3x)", ""),
22 frame_pre
: bpy
.props
.IntProperty(name
="Frame before frame_change", default
=0, min=0)
24 active_tab
: bpy
.props
.StringProperty(
25 name
="Active Tab", description
="The name of the active tab in the UI", default
="Sequencer"
29 def register_properties():
30 bpy
.utils
.register_class(PowerSequencerProperties
)
31 bpy
.types
.Scene
.power_sequencer
= bpy
.props
.PointerProperty(type=PowerSequencerProperties
)
34 def unregister_properties():
35 bpy
.utils
.unregister_class(PowerSequencerProperties
)