diff options
Diffstat (limited to 'uv_magic_uv/op/pack_uv.py')
-rw-r--r-- | uv_magic_uv/op/pack_uv.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/uv_magic_uv/op/pack_uv.py b/uv_magic_uv/op/pack_uv.py index 4c365f8b..ad40d049 100644 --- a/uv_magic_uv/op/pack_uv.py +++ b/uv_magic_uv/op/pack_uv.py @@ -147,12 +147,12 @@ class _Properties: @classmethod def init_props(cls, scene): - scene.muv_pack_uv_enabled: BoolProperty( + scene.muv_pack_uv_enabled = BoolProperty( name="Pack UV Enabled", description="Pack UV is enabled", default=False ) - scene.muv_pack_uv_allowable_center_deviation: FloatVectorProperty( + scene.muv_pack_uv_allowable_center_deviation = FloatVectorProperty( name="Allowable Center Deviation", description="Allowable center deviation to judge same UV island", min=0.000001, @@ -160,7 +160,7 @@ class _Properties: default=(0.001, 0.001), size=2 ) - scene.muv_pack_uv_allowable_size_deviation: FloatVectorProperty( + scene.muv_pack_uv_allowable_size_deviation = FloatVectorProperty( name="Allowable Size Deviation", description="Allowable sizse deviation to judge same UV island", min=0.000001, @@ -187,22 +187,22 @@ class MUV_OT_PackUV(bpy.types.Operator): - Same number of UV """ - bl_idname = "uv.muv_pack_uv_operator" + bl_idname = "uv.muv_ot_pack_uv" bl_label = "Pack UV" bl_description = "Pack UV (Same UV Islands are integrated)" bl_options = {'REGISTER', 'UNDO'} - rotate: BoolProperty( + rotate = BoolProperty( name="Rotate", description="Rotate option used by default pack UV function", default=False) - margin: FloatProperty( + margin = FloatProperty( name="Margin", description="Margin used by default pack UV function", min=0, max=1, default=0.001) - allowable_center_deviation: FloatVectorProperty( + allowable_center_deviation = FloatVectorProperty( name="Allowable Center Deviation", description="Allowable center deviation to judge same UV island", min=0.000001, @@ -210,7 +210,7 @@ class MUV_OT_PackUV(bpy.types.Operator): default=(0.001, 0.001), size=2 ) - allowable_size_deviation: FloatVectorProperty( + allowable_size_deviation = FloatVectorProperty( name="Allowable Size Deviation", description="Allowable sizse deviation to judge same UV island", min=0.000001, |