Support Blender 4.4
This commit is contained in:
parent
b990ec5e74
commit
1abff7587e
|
@ -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
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
bl_info = {
|
bl_info = {
|
||||||
"name": "Symmetrize Texture",
|
"name": "Symmetrize Texture",
|
||||||
"author": "akaneyu",
|
"author": "akaneyu",
|
||||||
"version": (1, 2, 0),
|
"version": (1, 3, 0),
|
||||||
"blender": (3, 3, 0),
|
"blender": (3, 3, 0),
|
||||||
"location": "View3D",
|
"location": "View3D",
|
||||||
"warning": "",
|
"warning": "",
|
||||||
|
|
|
@ -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
|
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
|
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_label = "Use 3D Brush"
|
||||||
bl_options = {'REGISTER', 'UNDO'}
|
bl_options = {'REGISTER', 'UNDO'}
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self, *args, **kwargs):
|
||||||
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
self.native_lib = None
|
self.native_lib = None
|
||||||
self.lmb = False
|
self.lmb = False
|
||||||
self.image = None
|
self.image = None
|
||||||
|
@ -290,9 +292,6 @@ class SYMMETRIZE_TEXTURE_OT_mirrored_copy(bpy.types.Operator):
|
||||||
bl_label = "Mirrored Copy"
|
bl_label = "Mirrored Copy"
|
||||||
bl_options = {'REGISTER', 'UNDO'}
|
bl_options = {'REGISTER', 'UNDO'}
|
||||||
|
|
||||||
def __init__(self):
|
|
||||||
pass
|
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def poll(cls, context):
|
def poll(cls, context):
|
||||||
return context.area.spaces.active.mode != 'UV' \
|
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_label = "Use 2D Brush"
|
||||||
bl_options = {'REGISTER', 'UNDO'}
|
bl_options = {'REGISTER', 'UNDO'}
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self, *args, **kwargs):
|
||||||
|
super().__init__(*args, **kwargs)
|
||||||
|
|
||||||
self.native_lib = None
|
self.native_lib = None
|
||||||
self.lmb = False
|
self.lmb = False
|
||||||
self.image = None
|
self.image = None
|
||||||
|
|
Loading…
Reference in New Issue