-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathui_panel.py
88 lines (77 loc) · 3.12 KB
/
ui_panel.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
# BEGIN LICENSE & COPYRIGHT BLOCK.
#
# Copyright (C) 2022-2024 Kiril Strezikozin
# BakeMaster Blender Add-on (version 2.7.0)
#
# This file is a part of BakeMaster Blender Add-on, a plugin for texture
# baking in open-source Blender 3d modelling software.
# The author can be contacted at <[email protected]>.
#
# Redistribution and use for any purpose including personal, educational, and
# commercial, with or without modification, are permitted provided
# that the following conditions are met:
#
# 1. The current acquired License allows copies/redistributions of this
# software be made to UNLIMITED END USER SEATS (OPEN SOURCE LICENSE).
# 2. Redistributions of this source code or partial usage of this source code
# must follow the terms of this license and retain the above copyright
# notice, and the following disclaimer.
# 3. The name of the author may be used to endorse or promote products derived
# from this software. In such a case, a prior written permission from the
# author is required.
#
# This program is free software and is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL THE
# AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# You should have received a copy of the GNU General Public License in the
# GNU.txt file along with this program. If not,
# see <http://www.gnu.org/licenses/>.
#
# END LICENSE & COPYRIGHT BLOCK.
import bpy
from .ui_panel_base import *
bm_space_type = 'VIEW_3D'
bm_region_type = 'UI'
bm_category = "BakeMaster"
class BM_PT_Main(BM_PT_MainBase):
bl_space_type = bm_space_type
bl_region_type = bm_region_type
bl_category = bm_category
class BM_PT_Item(BM_PT_ItemBase):
bl_space_type = bm_space_type
bl_region_type = bm_region_type
bl_category = bm_category
bl_parent_id = BM_PT_Main.bl_idname
class BM_PT_Item_Object(BM_PT_Item_ObjectBase):
bl_space_type = bm_space_type
bl_region_type = bm_region_type
bl_category = bm_category
bl_parent_id = BM_PT_Item.bl_idname
class BM_PT_Item_Maps(BM_PT_Item_MapsBase):
bl_space_type = bm_space_type
bl_region_type = bm_region_type
bl_category = bm_category
bl_parent_id = BM_PT_Item.bl_idname
class BM_PT_Item_Output(BM_PT_Item_OutputBase):
bl_space_type = bm_space_type
bl_region_type = bm_region_type
bl_category = bm_category
bl_parent_id = BM_PT_Item.bl_idname
class BM_PT_TextureSets(BM_PT_TextureSetsBase):
bl_space_type = bm_space_type
bl_region_type = bm_region_type
bl_category = bm_category
bl_parent_id = BM_PT_Main.bl_idname
class BM_PT_Bake(BM_PT_BakeBase):
bl_space_type = bm_space_type
bl_region_type = bm_region_type
bl_category = bm_category
bl_parent_id = BM_PT_Main.bl_idname
class BM_PT_Help(BM_PT_HelpBase):
bl_space_type = bm_space_type
bl_region_type = bm_region_type
bl_category = bm_category
bl_parent_id = BM_PT_Main.bl_idname