Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: dev-3.0.0 addon struct refactor > dev-3.0.0 #28

Merged
merged 138 commits into from
Mar 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
3e98fb2
cleanup
KirilStrezikozin Feb 25, 2023
4c63786
refactor: restart utils
KirilStrezikozin Feb 25, 2023
989e152
add: labels class for holding props labels
KirilStrezikozin Feb 25, 2023
51a1261
add: bakejobs base
KirilStrezikozin Feb 25, 2023
43e9244
add: mainbase, bakejobs uilist and template
KirilStrezikozin Feb 25, 2023
f4f4de1
add: panels register
KirilStrezikozin Feb 25, 2023
9f479e4
add: register classes
KirilStrezikozin Feb 25, 2023
c304ae0
fix: addon module import
KirilStrezikozin Feb 25, 2023
7fee008
fixs: first run
KirilStrezikozin Feb 25, 2023
e540876
add: demo bake jobs ui logic
KirilStrezikozin Feb 27, 2023
9d90344
add: declare all panels
KirilStrezikozin Feb 27, 2023
b7d7c75
add: panels reg
KirilStrezikozin Feb 27, 2023
d247ee7
refactor: separate bakejobs OTs
KirilStrezikozin Feb 27, 2023
bd8df41
add: store bakejobs_len as prop
KirilStrezikozin Feb 27, 2023
edb1ec1
adapt: refactored bakejobs OTs to ui
KirilStrezikozin Feb 27, 2023
b1c1c6f
add: all panels demo bases
KirilStrezikozin Feb 27, 2023
aa8462b
add: help buttons in panels headers
KirilStrezikozin Feb 27, 2023
dfd302a
add: toggable help buttons
KirilStrezikozin Feb 27, 2023
9e2ab75
pref: default_closed panels
KirilStrezikozin Feb 27, 2023
91ec6aa
add: bakejob.use_bake prop
KirilStrezikozin Feb 27, 2023
c168f17
add: scene, texsets, alep, cauc, fmr props
KirilStrezikozin Feb 27, 2023
3eea05f
refactor: highpoly funcs
KirilStrezikozin Feb 28, 2023
680f3da
pref: code style
KirilStrezikozin Feb 28, 2023
7ced43f
add: flake8: E501 automated append to lines
KirilStrezikozin Feb 28, 2023
1259777
add: props labels example
KirilStrezikozin Mar 2, 2023
ef65206
add: paste all props, cleanup
KirilStrezikozin Mar 2, 2023
fead425
add: paste all ui, refactor: bake, texsets, output
KirilStrezikozin Mar 2, 2023
bbcdcc8
add: func to get object_drawable, bakejob, object
KirilStrezikozin Mar 2, 2023
e71ba17
refactor: mapsbase panel
KirilStrezikozin Mar 2, 2023
fb914f7
add: ui draw funcs to draw mapsettings
KirilStrezikozin Mar 2, 2023
4f6494e
refactor: reduce cyclomatic complexity in mapbase panel draw
KirilStrezikozin Mar 2, 2023
85da5f8
add: highpolies_len props
KirilStrezikozin Mar 2, 2023
f0e5b49
add: hl, uv, csh, matgroups, out, decal funcs for drawing ui
KirilStrezikozin Mar 2, 2023
2c661c4
add: objectbase panel
KirilStrezikozin Mar 2, 2023
b50b783
add: get object label in the ui
KirilStrezikozin Mar 2, 2023
b02c21b
add: objects and object panel parenting
KirilStrezikozin Mar 2, 2023
6f562e0
edit: object base, add: objects panel base
KirilStrezikozin Mar 2, 2023
66c3f7c
pref: cleanup
KirilStrezikozin Mar 2, 2023
f2e4f3a
paste: uilists
KirilStrezikozin Mar 2, 2023
13b08c7
refactor: uilists
KirilStrezikozin Mar 3, 2023
b1c2e57
add&edit: index props, namings
KirilStrezikozin Mar 3, 2023
631c869
add: register uilists
KirilStrezikozin Mar 3, 2023
0c8bad6
edit: cleanup, get labels, rename update funcs
KirilStrezikozin Mar 3, 2023
1d1b655
add: get prop labels
KirilStrezikozin Mar 3, 2023
b4fdb72
remove: prop utils from ui utils
KirilStrezikozin Mar 3, 2023
43319c8
move: prop utils here from ui utils
KirilStrezikozin Mar 3, 2023
3e45dc6
add: paste all utils, rename funcs
KirilStrezikozin Mar 3, 2023
ff389f0
add: paste presets without editing:
KirilStrezikozin Mar 3, 2023
e3b4e21
add: register preset pts and mts
KirilStrezikozin Mar 3, 2023
142e0a5
update: uilists name references
KirilStrezikozin Mar 3, 2023
12c5c47
add: paset operators without edits
KirilStrezikozin Mar 3, 2023
191f0ac
update: in gpl block added addon version number
KirilStrezikozin Mar 6, 2023
e34fcdd
add: register operators, presets
KirilStrezikozin Mar 6, 2023
dbe15d3
fix: cls, funcs names
KirilStrezikozin Mar 6, 2023
59fc496
edit: propgroups names
KirilStrezikozin Mar 6, 2023
f7999b5
edit: propgroups names, return '' if label not found
KirilStrezikozin Mar 6, 2023
f9be5c8
edit: propgroups register
KirilStrezikozin Mar 6, 2023
f31614f
update: assign bakemaster propgroup pointer name
KirilStrezikozin Mar 6, 2023
abc0993
remove: do not run addon.register() from root __init__
KirilStrezikozin Mar 6, 2023
d7193bc
edit: show_help prop name
KirilStrezikozin Mar 7, 2023
d729a81
add: started adding pipeline props
KirilStrezikozin Mar 7, 2023
eb52e6f
add: manage prettier extension
KirilStrezikozin Mar 7, 2023
a8f6d44
update: addon readme style and license info
KirilStrezikozin Mar 7, 2023
a817c4f
add: copy of gnu license
KirilStrezikozin Mar 7, 2023
5d85ed0
add: updated addon License
KirilStrezikozin Mar 7, 2023
4768acf
pref: styling
KirilStrezikozin Mar 7, 2023
158411c
update: readme into install, remove old builds
KirilStrezikozin Mar 7, 2023
470c45f
update: addon License
KirilStrezikozin Mar 7, 2023
27c3ee5
pref: ignore flake8 F722, F821
KirilStrezikozin Mar 7, 2023
7813f2d
add: pipeline ui props
KirilStrezikozin Mar 7, 2023
53c25c5
add: manager ui props
KirilStrezikozin Mar 7, 2023
9f8d1dc
add: manager props empty udpate funcs
KirilStrezikozin Mar 7, 2023
7cbc673
add: pipeline config ot
KirilStrezikozin Mar 7, 2023
2d6f87c
add: pipeline import ot
KirilStrezikozin Mar 7, 2023
4a87364
add: write log prop
KirilStrezikozin Mar 7, 2023
d8862eb
add: detach prop for config ot
KirilStrezikozin Mar 7, 2023
8069a35
add: analyse edits ot demo base
KirilStrezikozin Mar 7, 2023
4e316d1
add: atlas targets ot demo base
KirilStrezikozin Mar 7, 2023
08fa564
add: pipeline panel ui base
KirilStrezikozin Mar 7, 2023
f60a450
add: pipeline ui base fixed, updated, completed
KirilStrezikozin Mar 7, 2023
9bbf776
edit: pipeline ui, finished
KirilStrezikozin Mar 8, 2023
bbddc0b
pref: manager_use_filter_baked name
KirilStrezikozin Mar 8, 2023
cad7ef4
add: manager ots demo base
KirilStrezikozin Mar 8, 2023
a1c121d
add: manager panel ui base
KirilStrezikozin Mar 8, 2023
8b82df5
pref: pyflakes styling fix
KirilStrezikozin Mar 8, 2023
588048a
pref: manager operators icons
KirilStrezikozin Mar 8, 2023
2ff7f98
pref: pycodestyle fixes
KirilStrezikozin Mar 9, 2023
f4b5717
edit: bakemater.pipeline_import ot description
KirilStrezikozin Mar 9, 2023
60f3453
pref: styling
KirilStrezikozin Mar 13, 2023
1753e69
add: container item uilist base
KirilStrezikozin Mar 13, 2023
41a590c
pref: container_type prop items
KirilStrezikozin Mar 13, 2023
45dc257
edit: OTs and props descriptions
KirilStrezikozin Mar 13, 2023
627e8f1
pref: icons for OTs in the manager
KirilStrezikozin Mar 13, 2023
bcf996b
add: bake control props
KirilStrezikozin Mar 13, 2023
c915601
add: labels for bake control props
KirilStrezikozin Mar 13, 2023
1f7452f
pref: fix layout.emboss_ attribute
KirilStrezikozin Mar 13, 2023
4aabf7d
add: bake OTs bases
KirilStrezikozin Mar 13, 2023
bf31a4e
add: bake panel ui base
KirilStrezikozin Mar 13, 2023
f6c3714
add: bake history panel inside bake panel
KirilStrezikozin Mar 13, 2023
c7d367f
add: uilist_walk_handler props
KirilStrezikozin Mar 14, 2023
7ad76d2
add: base get funcs
KirilStrezikozin Mar 14, 2023
76b8a56
add: uilist walk handler props
KirilStrezikozin Mar 14, 2023
c9ba4c8
add: uilist walk handler props updates
KirilStrezikozin Mar 14, 2023
9256e98
add: fast built uilist_walk_handler
KirilStrezikozin Mar 14, 2023
8efd53a
remove: bm_get.bakemaster - unused
KirilStrezikozin Mar 17, 2023
e680297
edit: is_bake_availble -> bake_is_running
KirilStrezikozin Mar 17, 2023
fece3ee
remove: bm_get.bakemaster usage
KirilStrezikozin Mar 17, 2023
10ca8ee
add: ui bake ots poll()
KirilStrezikozin Mar 17, 2023
cf69b5c
refactor: ots with bm_gets, bake control ots
KirilStrezikozin Mar 17, 2023
3a5c4b1
add: bakehistory props
KirilStrezikozin Mar 17, 2023
7a3df2e
add: poll for bakehistory ots
KirilStrezikozin Mar 17, 2023
ea7ab39
add: bakehistory_rebake ot demo base
KirilStrezikozin Mar 17, 2023
6be932c
update: bakehistory_rebake interpretate demo bake
KirilStrezikozin Mar 17, 2023
3a88079
add: bakehistory_config ot demo base
KirilStrezikozin Mar 17, 2023
17218d6
add: bakehistory_remove ot demo base
KirilStrezikozin Mar 17, 2023
7fa27e9
add: active bake in the history is reserved
KirilStrezikozin Mar 17, 2023
1370bae
add: bakehistory item add func
KirilStrezikozin Mar 17, 2023
bf655e6
refactor: bakehistory_remove into seperate func
KirilStrezikozin Mar 17, 2023
52273f9
add: call bakehistory_add on bake start, call unreserve
KirilStrezikozin Mar 17, 2023
3d0413c
add: bakehistory cls to reg
KirilStrezikozin Mar 18, 2023
22c093d
fix: bakehistory attrs passing
KirilStrezikozin Mar 18, 2023
ab9505f
add: bakehistory uilist
KirilStrezikozin Mar 18, 2023
565b315
add&fix: bakehistory ui, ui utils import
KirilStrezikozin Mar 18, 2023
700b834
fix: bakehistory time stamp write
KirilStrezikozin Mar 18, 2023
727d0ff
remove: unused, minor renames
KirilStrezikozin Mar 18, 2023
ddd58bd
pref: getters -> get renamed
KirilStrezikozin Mar 18, 2023
87546e5
pref: emboss attribute fix name
KirilStrezikozin Mar 18, 2023
4774c68
pref: bakehistory_rebake action descriptions
KirilStrezikozin Mar 18, 2023
f4fa2bf
fix: bakehistory remove incorrect indexing
KirilStrezikozin Mar 18, 2023
98a62da
add: label when bakehistory is empty
KirilStrezikozin Mar 18, 2023
0640d1d
pref: datetime import to the file top
KirilStrezikozin Mar 18, 2023
dd05e82
add: bakehistory display timestamp
KirilStrezikozin Mar 18, 2023
07b7bdd
add: func to get timestamp label
KirilStrezikozin Mar 18, 2023
9cb4b5d
pref: bakehistory.timestamp label default value
KirilStrezikozin Mar 18, 2023
be27fc5
update: set timestamp after bake finishes, update reserved with remove
KirilStrezikozin Mar 18, 2023
076c387
update: README.txt clearness
KirilStrezikozin Mar 19, 2023
389667e
edit: install/readme
KirilStrezikozin Mar 25, 2023
0545802
remove: unused imports
KirilStrezikozin Mar 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"printWidth": 79
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"scheme": "file"
}
],
"python.linting.flake8Args": [
"--max-line-length=79",
"--ignore=F722,F821",
],
"markdown.preview.breaks": true,
"markdown.preview.typographer": true,
"esbonio.sphinx.confDir": "",
Expand Down
58 changes: 44 additions & 14 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,26 +1,56 @@
# ##### BEGIN GPL LICENSE BLOCK #####
# ##### BEGIN LICENSE BLOCK #####
#
# "BakeMaster" Add-on
# "BakeMaster" Blender Add-on (version 3.0.0)
# Copyright (C) 2023 Kiril Strezikozin aka kemplerart
#
# 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
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
# This License permits you to use this software for any purpose including
# personal, educational, and commercial; You are allowed to modify it to suit
# your needs, and to redistribute the software or any modifications you make
# to it, as long as you follow the terms of this License and the
# GNU General Public License as published by the Free Software Foundation,
# either version 3 of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTIBILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
# This License grants permission to redistribute this software to
# UNLIMITED END USER SEATS (OPEN SOURCE VARIANT) defined by the
# acquired License type. A redistributed copy of this software
# must follow and share similar rights of free software and usage
# specifications determined by the GNU General Public License.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# 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. See the
# GNU General Public License for more details.
#
# ##### END GPL LICENSE BLOCK #####
# You should have received a copy of the GNU General Public License in
# GNU.txt file along with this program. If not,
# see <http://www.gnu.org/licenses/>.
#
# ##### END LICENSE BLOCK #####


# This file is used by addon's dev.
# This file is not included with the addon.
# Addon's actual tree is located in ./addon/

import addon
from . import addon

bl_info = {
"name": "BakeMaster",
"description":
"Bake various PBR-based or Cycles maps with ease and comfort",
"author": "kemplerart",
"version": (3, 0, 0),
"blender": (2, 83, 0),
"location": "View3D > Sidebar > BakeMaster",
"warning": "",
"wiki_url": "",
"tracker_url": "",
"category": "Material"
}

register = addon.register
unregister = addon.unregister


# if __name__ == "__main__":
# register()
675 changes: 675 additions & 0 deletions addon/GNU.txt

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions addon/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# ##### BEGIN LICENSE BLOCK #####
#
# "BakeMaster" Blender Add-on (version 3.0.0)
# Copyright (C) 2023 Kiril Strezikozin aka kemplerart
#
# This License permits you to use this software for any purpose including
# personal, educational, and commercial; You are allowed to modify it to suit
# your needs, and to redistribute the software or any modifications you make
# to it, as long as you follow the terms of this License and the
# GNU General Public License as published by the Free Software Foundation,
# either version 3 of the License, or (at your option) any later version.
#
# This License grants permission to redistribute this software to
# UNLIMITED END USER SEATS (OPEN SOURCE VARIANT) defined by the
# acquired License type. A redistributed copy of this software
# must follow and share similar rights of free software and usage
# specifications determined by the GNU General Public License.
#
# 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. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License in
# GNU.txt file along with this program. If not,
# see <http://www.gnu.org/licenses/>.
#
# ##### END LICENSE BLOCK #####
24 changes: 16 additions & 8 deletions addon/README.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
This file is included with the addon to note the user about the usage guide
===========================================================================

The installation guide can be read on the addon's Blender Market page (https://blendermarket.com/products/bakemaster) or Gumroad (https://kemplerart.gumroad.com/l/bakemaster).

You can also get all the information in BakeMaster's online documentation (https://bakemaster-blender-addon.readthedocs.io/en/latest/), where all tutorials and usage explanations are listed as well.

Join our Discord and ask any kind of question you've got raised (https://discord.gg/2ePzzzMBf4), or email the author ([email protected]) directly.
# This file is included with the addon to note the user about the usage guide
# =============================================================================
#
# License information is outlined in the LICENSE file. If you didn't receive it,
# see <http://www.gnu.org/licenses/>.
#
# The installation guide can be read on the addon's Blender Market page
# (https://blendermarket.com/products/bakemaster) or Gumroad
# (https://kemplerart.gumroad.com/l/bakemaster).
#
# You can find usage guides and explanations in BakeMaster's online documentation
# (https://bakemaster-blender-addon.readthedocs.io/en/latest/).
#
# Join our Discord and ask any kind of question you've got raised
# (https://discord.gg/2ePzzzMBf4), or email the author
# ([email protected]) directly.
Loading