diff --git a/addon/__init__.py b/addon/__init__.py index 26c8f95..20f9ce1 100644 --- a/addon/__init__.py +++ b/addon/__init__.py @@ -1,5 +1,5 @@ ''' - Copyright (C) 2021 - 2024 Akaneyu + Copyright (C) 2021 - 2025 Akaneyu This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,7 +18,7 @@ bl_info = { "name": "Symmetrize Texture", "author": "akaneyu", - "version": (1, 2, 0), + "version": (1, 3, 0), "blender": (3, 3, 0), "location": "View3D", "warning": "", diff --git a/addon/operators.py b/addon/operators.py index 2eb1987..9f26993 100644 --- a/addon/operators.py +++ b/addon/operators.py @@ -1,5 +1,5 @@ ''' - Copyright (C) 2021 - 2023 Akaneyu + Copyright (C) 2021 - 2025 Akaneyu This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -29,7 +29,9 @@ class SYMMETRIZE_TEXTURE_OT_use_3d_brush(bpy.types.Operator): bl_label = "Use 3D Brush" bl_options = {'REGISTER', 'UNDO'} - def __init__(self): + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.native_lib = None self.lmb = False self.image = None @@ -290,9 +292,6 @@ class SYMMETRIZE_TEXTURE_OT_mirrored_copy(bpy.types.Operator): bl_label = "Mirrored Copy" bl_options = {'REGISTER', 'UNDO'} - def __init__(self): - pass - @classmethod def poll(cls, context): return context.area.spaces.active.mode != 'UV' \ @@ -390,7 +389,9 @@ class SYMMETRIZE_TEXTURE_OT_use_2d_brush(bpy.types.Operator): bl_label = "Use 2D Brush" bl_options = {'REGISTER', 'UNDO'} - def __init__(self): + def __init__(self, *args, **kwargs): + super().__init__(*args, **kwargs) + self.native_lib = None self.lmb = False self.image = None