diff options
Diffstat (limited to 'materials_utils/texture_rename.py')
-rw-r--r-- | materials_utils/texture_rename.py | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/materials_utils/texture_rename.py b/materials_utils/texture_rename.py index ddea43cc..ac728b70 100644 --- a/materials_utils/texture_rename.py +++ b/materials_utils/texture_rename.py @@ -3,21 +3,20 @@ import bpy from bpy.types import ( - Operator, - Panel, - ) + Operator, + Panel, + ) from bpy.props import StringProperty from .warning_messages_utils import ( - warning_messages, - c_data_has_images, - ) + warning_messages, + c_data_has_images, + ) class TEXTURE_OT_patern_rename(Operator): bl_idname = "texture.patern_rename" bl_label = "Texture Renamer" - bl_description = ("Replace the Texture names pattern with \n" - "the attached Image ones. \n" + bl_description = ("Replace the Texture names pattern with the attached Image ones\n" "Works on all Textures (Including Brushes) \n \n" "The First field - the name pattern to replace \n" "The Second - searches for existing names \n") @@ -108,5 +107,6 @@ def unregister(): bpy.utils.unregister_module(__name__) pass + if __name__ == "__main__": register() |