From aeabdc02a83a976b2f594cd66873c6d2b537e669 Mon Sep 17 00:00:00 2001 From: NBurn <7nburn@gmail.com> Date: Thu, 17 Jan 2019 16:48:54 -0500 Subject: 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. --- io_sequencer_edl/__init__.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'io_sequencer_edl/__init__.py') 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", ) -- cgit v1.2.3