diff options
Diffstat (limited to 'io_anim_nuke_chan/__init__.py')
-rw-r--r-- | io_anim_nuke_chan/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/io_anim_nuke_chan/__init__.py b/io_anim_nuke_chan/__init__.py index 9266c439..f562244e 100644 --- a/io_anim_nuke_chan/__init__.py +++ b/io_anim_nuke_chan/__init__.py @@ -74,20 +74,20 @@ class ImportChan(Operator, ImportHelper): filename_ext = ".chan" - filter_glob = StringProperty(default="*.chan", options={'HIDDEN'}) + filter_glob: StringProperty(default="*.chan", options={'HIDDEN'}) rotation_order = rotation_order - z_up = BoolProperty( + z_up: BoolProperty( name="Make Z up", description="Switch the Y and Z axis", default=True) - sensor_width = FloatProperty( + sensor_width: FloatProperty( name="Camera sensor width", description="Imported camera sensor width", default=32.0) - sensor_height = FloatProperty( + sensor_height: FloatProperty( name="Camera sensor height", description="Imported camera sensor height", default=18.0) @@ -113,8 +113,8 @@ class ExportChan(Operator, ExportHelper): bl_label = "Export chan file" filename_ext = ".chan" - filter_glob = StringProperty(default="*.chan", options={'HIDDEN'}) - y_up = BoolProperty( + filter_glob: StringProperty(default="*.chan", options={'HIDDEN'}) + y_up: BoolProperty( name="Make Y up", description="Switch the Y and Z axis", default=True) |