Fix io_anim_camera error exporting cameras with quotes in their name
[blender-addons.git] / power_sequencer / addon_properties.py
blob575a3954c67e2b65c031e2f9f21db0b7e20bae76
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.
6 import bpy
9 class PowerSequencerProperties(bpy.types.PropertyGroup):
10 playback_speed: bpy.props.EnumProperty(
11 items=[
12 ("NORMAL", "Normal (1x)", ""),
13 ("FAST", "Fast (1.33x)", ""),
14 ("FASTER", "Faster (1.66x)", ""),
15 ("DOUBLE", "Double (2x)", ""),
16 ("TRIPLE", "Triple (3x)", ""),
18 name="Playback",
19 default="NORMAL",
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)