More cleanup
- operator strings are referenced via the class property rather than a hard coded string - class names have been cleaned to have _OT_ or _PT_ depending on the kind of class it was. - Class names should mostly be CamelCase now.
This commit is contained in:
@@ -12,7 +12,7 @@ class meshEntry(TypedDict):
|
||||
cur_vertex_pass: int
|
||||
|
||||
@register_wrap
|
||||
class RemoveDoublesSafelyAdvanced(Operator):
|
||||
class AvatarToolKit_OT_RemoveDoublesSafelyAdvanced(Operator):
|
||||
bl_idname = "avatar_toolkit.remove_doubles_safely_advanced"
|
||||
bl_label = t("Optimization.remove_doubles_safely_advanced.label")
|
||||
bl_description = t("Optimization.remove_doubles_safely_advanced.desc")
|
||||
@@ -30,7 +30,7 @@ class RemoveDoublesSafelyAdvanced(Operator):
|
||||
bpy.ops.avatar_toolkit.remove_doubles_safely('INVOKE_DEFAULT',advanced=True,merge_distance=self.merge_distance)
|
||||
return {'FINISHED'}
|
||||
@register_wrap
|
||||
class RemoveDoublesSafely(Operator):
|
||||
class AvatarToolKit_OT_RemoveDoublesSafely(Operator):
|
||||
bl_idname = "avatar_toolkit.remove_doubles_safely"
|
||||
bl_label = t("Optimization.remove_doubles_safely.label")
|
||||
bl_description = t("Optimization.remove_doubles_safely.desc")
|
||||
|
||||
Reference in New Issue
Block a user