Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'uv_magic_uv/ui/view3d_copy_paste_uv_editmode.py')
-rw-r--r--uv_magic_uv/ui/view3d_copy_paste_uv_editmode.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/uv_magic_uv/ui/view3d_copy_paste_uv_editmode.py b/uv_magic_uv/ui/view3d_copy_paste_uv_editmode.py
index 14fba24a..0fc4df14 100644
--- a/uv_magic_uv/ui/view3d_copy_paste_uv_editmode.py
+++ b/uv_magic_uv/ui/view3d_copy_paste_uv_editmode.py
@@ -30,13 +30,11 @@ from ..op import (
transfer_uv,
)
from ..utils.bl_class_registry import BlClassRegistry
-
-__all__ = [
- 'MUV_PT_CopyPasteUVEditMode',
-]
+from ..utils import compatibility as compat
@BlClassRegistry()
+@compat.ChangeRegionType(region_type='TOOLS')
class MUV_PT_CopyPasteUVEditMode(bpy.types.Panel):
"""
Panel class: Copy/Paste UV on Property Panel on View3D
@@ -51,7 +49,7 @@ class MUV_PT_CopyPasteUVEditMode(bpy.types.Panel):
def draw_header(self, _):
layout = self.layout
- layout.label(text="", icon='IMAGE')
+ layout.label(text="", icon=compat.icon('IMAGE'))
def draw(self, context):
sc = context.scene