diff options
Diffstat (limited to 'uv_magic_uv/op/align_uv_cursor.py')
-rw-r--r-- | uv_magic_uv/op/align_uv_cursor.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/uv_magic_uv/op/align_uv_cursor.py b/uv_magic_uv/op/align_uv_cursor.py index ab4e93b4..bd92cf81 100644 --- a/uv_magic_uv/op/align_uv_cursor.py +++ b/uv_magic_uv/op/align_uv_cursor.py @@ -86,13 +86,13 @@ class _Properties: cy = bd_size[1] * value[1] space.cursor_location = Vector((cx, cy)) - scene.muv_align_uv_cursor_enabled = BoolProperty( + scene.muv_align_uv_cursor_enabled: BoolProperty( name="Align UV Cursor Enabled", description="Align UV Cursor is enabled", default=False ) - scene.muv_align_uv_cursor_cursor_loc = FloatVectorProperty( + scene.muv_align_uv_cursor_cursor_loc: FloatVectorProperty( name="UV Cursor Location", size=2, precision=4, @@ -103,7 +103,7 @@ class _Properties: get=auvc_get_cursor_loc, set=auvc_set_cursor_loc ) - scene.muv_align_uv_cursor_align_method = EnumProperty( + scene.muv_align_uv_cursor_align_method: EnumProperty( name="Align Method", description="Align Method", default='TEXTURE', @@ -114,7 +114,7 @@ class _Properties: ] ) - scene.muv_uv_cursor_location_enabled = BoolProperty( + scene.muv_uv_cursor_location_enabled: BoolProperty( name="UV Cursor Location Enabled", description="UV Cursor Location is enabled", default=False @@ -138,7 +138,7 @@ class MUV_OT_AlignUVCursor(bpy.types.Operator): bl_description = "Align cursor to the center of UV island" bl_options = {'REGISTER', 'UNDO'} - position = EnumProperty( + position: EnumProperty( items=( ('CENTER', "Center", "Align to Center"), ('LEFT_TOP', "Left Top", "Align to Left Top"), @@ -154,7 +154,7 @@ class MUV_OT_AlignUVCursor(bpy.types.Operator): description="Align position", default='CENTER' ) - base = EnumProperty( + base: EnumProperty( items=( ('TEXTURE', "Texture", "Align based on Texture"), ('UV', "UV", "Align to UV"), |