diff options
author | NBurn <7nburn@gmail.com> | 2019-01-18 00:48:54 +0300 |
---|---|---|
committer | NBurn <7nburn@gmail.com> | 2019-01-18 00:48:54 +0300 |
commit | aeabdc02a83a976b2f594cd66873c6d2b537e669 (patch) | |
tree | 3ac5922be25219ab666aae4b8d04002bce2e70a6 /io_sequencer_edl/__init__.py | |
parent | ba97e19e5b3df449784a4cc4ed89ce7b511ec3e4 (diff) |
Update Add-ons class properties to annotations
This should take care of most of the class property conversions to
use the new annotation format (colon instead of equals) for
assignment. There may still be a few edge cases that were missed.
Diffstat (limited to 'io_sequencer_edl/__init__.py')
-rw-r--r-- | io_sequencer_edl/__init__.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/io_sequencer_edl/__init__.py b/io_sequencer_edl/__init__.py index 44f04d32..5afc1a8d 100644 --- a/io_sequencer_edl/__init__.py +++ b/io_sequencer_edl/__init__.py @@ -96,7 +96,7 @@ class FindReelsEDL(Operator): """ Matching by reel name and existing filename when set""" bl_idname = "sequencer.import_edl_findreel" bl_label = "Find Missing Reel Files" - directory = StringProperty( + directory: StringProperty( subtype='DIR_PATH', ) @@ -246,26 +246,26 @@ class ImportEDL(Operator): # Persistent Scene Data Types (store EDL import info) class EDLReelInfo(bpy.types.PropertyGroup): - name = StringProperty( + name: StringProperty( name="Name", ) - filepath = StringProperty( + filepath: StringProperty( name="Video File", subtype='FILE_PATH', ) - frame_offset = IntProperty( + frame_offset: IntProperty( name="Frame Offset", ) class EDLImportInfo(bpy.types.PropertyGroup): - filepath = StringProperty( + filepath: StringProperty( subtype='FILE_PATH', ) - reels = bpy.props.CollectionProperty( + reels: bpy.props.CollectionProperty( type=EDLReelInfo, ) - frame_offset = IntProperty( + frame_offset: IntProperty( name="Global Frame Offset", ) |