-
Notifications
You must be signed in to change notification settings - Fork 26
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
Merging the Milestone 3.5. refactor #456
Commits on Oct 16, 2022
-
began the process of moving much of conf.py to a singleton class
StandingPad committedOct 16, 2022 Configuration menu - View commit details
-
Copy full SHA for b8551ef - Browse repository at this point
Copy the full SHA b8551efView commit details -
Began transitioning the source code to reflect the new MCprepEnv class
StandingPad committedOct 16, 2022 Configuration menu - View commit details
-
Copy full SHA for da3e82c - Browse repository at this point
Copy the full SHA da3e82cView commit details -
Some more rewrites to use the new MCprepEnv class
StandingPad committedOct 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 0bcea54 - Browse repository at this point
Copy the full SHA 0bcea54View commit details
Commits on Oct 18, 2022
-
Fixed some bugs and changed how dev_build and verbose are set
StandingPad committedOct 18, 2022 Configuration menu - View commit details
-
Copy full SHA for 27af908 - Browse repository at this point
Copy the full SHA 27af908View commit details -
Deprecated conf.log in favor for conf.ENV.log
StandingPad committedOct 18, 2022 Configuration menu - View commit details
-
Copy full SHA for 10b210b - Browse repository at this point
Copy the full SHA 10b210bView commit details
Commits on Dec 29, 2022
-
Added mcprep_venv to .gitignore
StandingPad Animations committedDec 29, 2022 Configuration menu - View commit details
-
Copy full SHA for f495fed - Browse repository at this point
Copy the full SHA f495fedView commit details -
Changed ENV to env as requested
StandingPad Animations committedDec 29, 2022 Configuration menu - View commit details
-
Copy full SHA for e97bdf6 - Browse repository at this point
Copy the full SHA e97bdf6View commit details -
Merge remote-tracking branch 'origin/dev' into internal-rewrites
StandingPad Animations committedDec 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 7943613 - Browse repository at this point
Copy the full SHA 7943613View commit details -
Some more fixes to account for deprecations
StandingPad Animations committedDec 29, 2022 Configuration menu - View commit details
-
Copy full SHA for e4876a2 - Browse repository at this point
Copy the full SHA e4876a2View commit details -
StandingPad Animations committed
Dec 29, 2022 Configuration menu - View commit details
-
Copy full SHA for 1123aa6 - Browse repository at this point
Copy the full SHA 1123aa6View commit details -
Ported some more code to use conf.env
StandingPad Animations committedDec 29, 2022 Configuration menu - View commit details
-
Copy full SHA for a167470 - Browse repository at this point
Copy the full SHA a167470View commit details
Commits on Mar 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for adbc2ba - Browse repository at this point
Copy the full SHA adbc2baView commit details
Commits on Mar 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 143ccd3 - Browse repository at this point
Copy the full SHA 143ccd3View commit details -
As we're dropping 2.7x support, this is no longer needed. Most of the compatability functions will remain though since they're more readable.
Configuration menu - View commit details
-
Copy full SHA for 643fefd - Browse repository at this point
Copy the full SHA 643fefdView commit details -
Added type annotations and use of Path
Replaced some instances of os.path with the Path object from pathlib for readability. Also added type annotations to MCprepEnv as we're moving towards that. This also means MCprep will not work at all in Blender 2.7x due to the use of new syntax. This will be the first in a long process of modernizing MCprep's code with 2.8 style code. Blender 2.7x users may not be happy, but it's for the better. If anything, 6 years worth of 2.7x support was a mistake (in my opinion), as it limited what we could do and opened MCprep to even more bugs (like in Blender 2.93 with make_annotations, which ironically now is deprecated).
Configuration menu - View commit details
-
Copy full SHA for a34b01a - Browse repository at this point
Copy the full SHA a34b01aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 185ab5b - Browse repository at this point
Copy the full SHA 185ab5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17af009 - Browse repository at this point
Copy the full SHA 17af009View commit details
Commits on Mar 18, 2023
-
Replaced old syntax for properties
Replaced the old = syntax with the new : syntax. This also removes the need for make_annotations, hence why they're removed.
Configuration menu - View commit details
-
Copy full SHA for 6d4def0 - Browse repository at this point
Copy the full SHA 6d4def0View commit details -
Removed Blender Internal code from materials
As we're removing 2.7x support, it makes sense to remove Blender Internal compatability as the engine is not present in Blender 2.8 and above. Even UPBGE (a fork of the Blender game engine that's still maintained) uses EEVEE, so there's no reason to continue supporting Blender Internal.
Configuration menu - View commit details
-
Copy full SHA for 2e2bf0f - Browse repository at this point
Copy the full SHA 2e2bf0fView commit details -
Removed bang for Python scripts
The bang at the top meant Linux users couldn't run the test suite. This changes now allows Linux users to run tests
Configuration menu - View commit details
-
Copy full SHA for 79ec6d4 - Browse repository at this point
Copy the full SHA 79ec6d4View commit details
Commits on Mar 19, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0844c2f - Browse repository at this point
Copy the full SHA 0844c2fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1cdb6b - Browse repository at this point
Copy the full SHA a1cdb6bView commit details -
Replaced deprecation warninging function
Deprecation warning function was moved in MCprepEnv since it made more sense to put it there
Configuration menu - View commit details
-
Copy full SHA for 145d66f - Browse repository at this point
Copy the full SHA 145d66fView commit details -
Replaced arguments for matprep_cycles
Originally matprep_cycles used to take multiple arguments, each one representing a seperate option. This was annoying as it meant the function has an unfathomable amount of arguments to keep track of. This has been replaced with a dataclass (called PrepOptions) that keeps track of all the options selected by the user. Not only does it make it slightly easier for developers, it also gives the following benefits: - More info on what types the different options are - Better organization Previously we couldn't do this due to 2.7x support, hence this being in mcprep-3_5-recore.
Configuration menu - View commit details
-
Copy full SHA for 8e9f124 - Browse repository at this point
Copy the full SHA 8e9f124View commit details -
Added check for dev_build in deprecation_warning
To avoid polluting output
Configuration menu - View commit details
-
Copy full SHA for 9e96c6d - Browse repository at this point
Copy the full SHA 9e96c6dView commit details -
Added check for dev_build in deprecation_warning
To avoid polluting output
Configuration menu - View commit details
-
Copy full SHA for 7020eb5 - Browse repository at this point
Copy the full SHA 7020eb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e5f894 - Browse repository at this point
Copy the full SHA 7e5f894View commit details
Commits on Mar 26, 2023
-
Merge pull request #408 from TheDuckCow/dev
Dev to master for v3.4.3
Configuration menu - View commit details
-
Copy full SHA for b365666 - Browse repository at this point
Copy the full SHA b365666View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4e1f0e - Browse repository at this point
Copy the full SHA b4e1f0eView commit details
Commits on Apr 20, 2023
-
Fixed the remaining uses of ENV with env
I'm honestly not sure how I missed these, but good thing they were caught. Now MCprep shouldn't be dealing with any errors related to env now...
Configuration menu - View commit details
-
Copy full SHA for c067dd2 - Browse repository at this point
Copy the full SHA c067dd2View commit details -
Removed use of conf.register() in load_modules
While removing the last of the ENVs, I noticed some deprecation warnings regarding the use of this function, so I've went ahead and removed it. Since this function calls other deprecated functions as well, what should have been 1 warning was instead 3. Apologies to anyone who had to suffer that in their terminal ;-;
Configuration menu - View commit details
-
Copy full SHA for 40090bb - Browse repository at this point
Copy the full SHA 40090bbView commit details -
Updated version for deprecation warning.
In all honesty I doubt we'll get around to actually removing these functions in 3.5.1, but since we're merging this with the 3.5 feature branch, I think it's important to warn developers and make them think about the eventual demise of these functions. Plus there's absolutely no reason to use deprecated functions for 3.5 when we'll have nice features like type annotations. Anyway, hopefully after this commit, we'll merge this with the MCprep 3.5 feature branch *fingers crossed*
Configuration menu - View commit details
-
Copy full SHA for 73d4f43 - Browse repository at this point
Copy the full SHA 73d4f43View commit details
Commits on Apr 23, 2023
-
Hopefully fixed the last remaining env bugs
For some reason the spawner was missing the use of env, causing errors. While this has been fixed, it does illustrate an issue with the current deprecation system in that deprecated stuff will error out. More investigation is needed.
Configuration menu - View commit details
-
Copy full SHA for 3f5965b - Browse repository at this point
Copy the full SHA 3f5965bView commit details -
Added a check for mcprep_dev.txt
This feature was requested by TheDuckCow to make dev builds easier to create. The idea is that a file is created by the compile scripts, and MCprep checks for the files existence to determine which flags to enable. This makes development a lot more convinient and removes the need for commits that change the dev flag. This does mean the MCprepEnv class no longer has arguments, but that's fine. In the future we might be able to read the contents of the file to give full control over what flags to enable.
Configuration menu - View commit details
-
Copy full SHA for 646f874 - Browse repository at this point
Copy the full SHA 646f874View commit details -
Added a log statement for dev builds
Why? It allows us to determine if we're using a dev build or not
Configuration menu - View commit details
-
Copy full SHA for d2bbe67 - Browse repository at this point
Copy the full SHA d2bbe67View commit details -
Added the -d and -f options to compile.sh
-d allows the creation of a dev build, by adding a new file called mcprep_dev.txt to the outputed build folder. -f replaces the -fast option and does the fast compile mode.
Configuration menu - View commit details
-
Copy full SHA for 5826aa1 - Browse repository at this point
Copy the full SHA 5826aa1View commit details -
Moved the dev build log statement
When running, an error occured due to log requiring the variables verbose and very_verbose, which do not exist until afterwards. Now it's been moved to after those variables have been set.
Configuration menu - View commit details
-
Copy full SHA for b9934de - Browse repository at this point
Copy the full SHA b9934deView commit details -
Brought internal-rewrites improvements to recore
The internal-rewrites branch recently gained some fixes and improvements to the compile scripts, so I'm now merging internal-rewrites with recore to bring those improvements to recore. There are of course some additions made, such as type annotations (which is a bit weird since internal-rewrites is actually now being planned for merge in 3.5), and the use of pathlib over os, but functionaly the features are the same.
Configuration menu - View commit details
-
Copy full SHA for 71ef4f6 - Browse repository at this point
Copy the full SHA 71ef4f6View commit details
Commits on Apr 29, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8d1be9b - Browse repository at this point
Copy the full SHA 8d1be9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c40fa3 - Browse repository at this point
Copy the full SHA 7c40fa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7726d57 - Browse repository at this point
Copy the full SHA 7726d57View commit details
Commits on Apr 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f6646ff - Browse repository at this point
Copy the full SHA f6646ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5595f0d - Browse repository at this point
Copy the full SHA 5595f0dView commit details
Commits on May 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 90e3194 - Browse repository at this point
Copy the full SHA 90e3194View commit details -
Configuration menu - View commit details
-
Copy full SHA for c46feae - Browse repository at this point
Copy the full SHA c46feaeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6fb15b - Browse repository at this point
Copy the full SHA a6fb15bView commit details
Commits on May 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 2580c0b - Browse repository at this point
Copy the full SHA 2580c0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8684b17 - Browse repository at this point
Copy the full SHA 8684b17View commit details -
Configuration menu - View commit details
-
Copy full SHA for d502195 - Browse repository at this point
Copy the full SHA d502195View commit details
Commits on May 3, 2023
-
Converting remaining properties to annotations for MCprep 3.5
Additionally removes all usage of the make_annotations workaround, this commit does not affect the updater code in any way (which is treated as a library). Preferences now draw, but mcprep scene props are not currently registering, breaking most of the addon. Pre-existing before this commit.
Configuration menu - View commit details
-
Copy full SHA for 8293431 - Browse repository at this point
Copy the full SHA 8293431View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b805ac - Browse repository at this point
Copy the full SHA 1b805acView commit details -
Fix remaining references to conf in favor of env.
MCprep scene props still not registering, so still unable to run automated tests.
Configuration menu - View commit details
-
Copy full SHA for eda3596 - Browse repository at this point
Copy the full SHA eda3596View commit details -
Fix remaining references to conf in favor of env.
MCprep scene props still not registering, so still unable to run automated tests.
Configuration menu - View commit details
-
Copy full SHA for 6863a49 - Browse repository at this point
Copy the full SHA 6863a49View commit details -
Fixing unnecessary annotations in non-class files to fix UI.
With this change, the UI now draws where needed. Many unit tests are still failing.
Configuration menu - View commit details
-
Copy full SHA for 9fef31e - Browse repository at this point
Copy the full SHA 9fef31eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90d93d2 - Browse repository at this point
Copy the full SHA 90d93d2View commit details
Commits on May 5, 2023
-
Why? Poetry means we can easily define Python version, dependencies, etc. without having to force developers to do everything by hand (provided they want to use Poetry, it's fine if they don't c:). The reason I'm doing it now is due to an upgrade on Arch Linux from Python 3.10 to Python 3.11, breaking all virtual environments. Poetry is useful especially on Linux where using the system Python tends to be an annoyence. The options I chose are based on MCprep 3.5, which mean the following: - Blender 2.8 bpy - Python 3.7 (as that's what 2.8 uses) These are not set in stone, but I think those are reasonable for MCprep
Configuration menu - View commit details
-
Copy full SHA for 8d75ac5 - Browse repository at this point
Copy the full SHA 8d75ac5View commit details -
Fixed name in Poetry project file
The MC part was not capitalized
Configuration menu - View commit details
-
Copy full SHA for d23216c - Browse repository at this point
Copy the full SHA d23216cView commit details -
Removed bv28 calls in UI and MCModel
By removing all of the `bv28()` calls, we've gotten rid of all deprecation warnings at startup and exit, which is awesome. Now we can actually start live testing to find even more deprecation warnings without having to deal with the insane output for the UI.
Configuration menu - View commit details
-
Copy full SHA for 022d8cd - Browse repository at this point
Copy the full SHA 022d8cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cf9eee - Browse repository at this point
Copy the full SHA 7cf9eeeView commit details
Commits on May 9, 2023
-
Added Linux folder population for compile.sh
Previouly Linux didn't have file population for the MCprep compile scripts, so I've went ahead and added it to make our lives easier, especially after that time an MCprep build script made a folder called ~ that ended in my home directory being wiped
Configuration menu - View commit details
-
Copy full SHA for fcf055d - Browse repository at this point
Copy the full SHA fcf055dView commit details -
Fixed Shellcheck errors in compile.sh
The compile scripts had some small errors (like a missing exit after cd) but also 2 big errors: SC2308 and SC2115 https://www.shellcheck.net/wiki/SC2308 https://www.shellcheck.net/wiki/SC2115 SC2308 was due to the use of `expr substr` when checking to see if the OS in use was Linux. According to the shellcheck wiki, this is not portable and as such shouldn't be used. This was replaced with a pipe expression that passes to `cut -c 1-5` SC2115 is due to an `rm -rf "$i/$NAME/" statement, which if the variable is not set or null, a person's system can be massively messed up. Here's a case where due to this exact issue, the Steam client ended up deleting everything on the root directory owned by the user: ValveSoftware/steam-for-linux#3671 While it's great that these issues were caught ahead of time, these should have never been in MCprep's build scripts. We already know that MCprep's build scripts can create folders named ~, causing their own headaches (like I dealt with a while back). We seriously need to start enforcing shellcheck for MCprep's build scripts.
Configuration menu - View commit details
-
Copy full SHA for eccda95 - Browse repository at this point
Copy the full SHA eccda95View commit details
Commits on May 10, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5a77f0e - Browse repository at this point
Copy the full SHA 5a77f0eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fd88e9 - Browse repository at this point
Copy the full SHA 0fd88e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c08384 - Browse repository at this point
Copy the full SHA 1c08384View commit details -
Added darker to pyproject.toml
darker allows us to have automatic PEP8 formatting in changed code, which allows us to think less about formatting and instead have it done automatically without creating big diffs. Of course one could argue that it's a good idea to use Black (what darker uses under the hood), but that creates massive diffs. MCprep already follows PEP 8 mostly but not completely, and changes would be massive.
Configuration menu - View commit details
-
Copy full SHA for ba2568c - Browse repository at this point
Copy the full SHA ba2568cView commit details -
Replaced compile scripts with mcprep-build
(Saleman pitch time) mcprep-build is our new, state-of-the-art build system custom made for the MCprep project that's cross platform! Now we get less headaches from dealing with Bash and the Windows shell as this new build system is written in Python! Jokes aside, this new build system is much more maintainable then the old build system. I still need to add autopopulation, but it's 99% the same, minus fast mode. In the future I want to turn this into a general purpose bpy-addon-builder sorta thing, but let's not get ahead of ourselves.
Configuration menu - View commit details
-
Copy full SHA for bcba39f - Browse repository at this point
Copy the full SHA bcba39fView commit details -
Removed 2.78 mentions from README
MCprep 3.5 removes 2.7x support, so we needed to update the versions mentioned in the README to say 2.80 as the minimum version, and remove the install steps screenshot for 2.7x
Configuration menu - View commit details
-
Copy full SHA for 97fd0ea - Browse repository at this point
Copy the full SHA 97fd0eaView commit details -
Fixed issue with arguments in mcprep-build
MCprep build had some issues with no arguments, so I went ahead and fixed it since it would be annoying if we could only make dev builds of MCprep
Configuration menu - View commit details
-
Copy full SHA for 193458a - Browse repository at this point
Copy the full SHA 193458aView commit details -
Updated CONTRIBUTING.md for information on darker
This is for developers to be aware that we now expect PEP8 formatted code. For reasons mentioned in earlier commits, we'll be using darker for that since it only applies formatting on changed code.
Configuration menu - View commit details
-
Copy full SHA for ab8c3f2 - Browse repository at this point
Copy the full SHA ab8c3f2View commit details -
Added pyenv .python-version to gitignore
Pyenv is commonly used on Linux to avoid issues with the system python, and can be set locally on a per folder basis. This is done with a text file called .python-version. Since this is a per-developer thing, I'm adding it to the gitignore
Configuration menu - View commit details
-
Copy full SHA for 67511a5 - Browse repository at this point
Copy the full SHA 67511a5View commit details -
Added requirements.txt for developers
This should make virtual environment creation much easier for developers. The file is based on the dependencies installed with Poetry, so they're the exact same versions.
Configuration menu - View commit details
-
Copy full SHA for bc8c363 - Browse repository at this point
Copy the full SHA bc8c363View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0690e6a - Browse repository at this point
Copy the full SHA 0690e6aView commit details -
Updated CONTRIBUTING.md for mcprep-build
This is to make the documentation consistant with the actual build system.
Configuration menu - View commit details
-
Copy full SHA for a303cae - Browse repository at this point
Copy the full SHA a303caeView commit details
Commits on May 11, 2023
-
Sorry for the large diff, that's just my formatter being annoying
Configuration menu - View commit details
-
Copy full SHA for 99ebce8 - Browse repository at this point
Copy the full SHA 99ebce8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b99132 - Browse repository at this point
Copy the full SHA 2b99132View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ba9be5 - Browse repository at this point
Copy the full SHA 5ba9be5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b48380f - Browse repository at this point
Copy the full SHA b48380fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e2ade2a - Browse repository at this point
Copy the full SHA e2ade2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 722beff - Browse repository at this point
Copy the full SHA 722beffView commit details -
Co-authored-by: Patrick W. Crawford <theduckcow@live.com>
Configuration menu - View commit details
-
Copy full SHA for 3e2f5a5 - Browse repository at this point
Copy the full SHA 3e2f5a5View commit details
Commits on May 12, 2023
-
Fixed paths and removed redundent moves
As suggested, I've added a SCRIPT_PATH variable to represent the path of the mcprep-build script, just to make sure that all future paths are correct. In addition, I've also removed the ADDON_DIRECTORY variable on line 88 since it's incorrect logic (we're trying to zip a folder that shouldn't exist)
Configuration menu - View commit details
-
Copy full SHA for 419d706 - Browse repository at this point
Copy the full SHA 419d706View commit details -
We'll be using flake8 in MCprep build to perform PEP8 code checks to make sure our code complies with PEP8 guidelines.
Configuration menu - View commit details
-
Copy full SHA for f475012 - Browse repository at this point
Copy the full SHA f475012View commit details -
This reverts commit 99ebce8. Currently we're still deciding on Black, so I'm reverting this for now
Configuration menu - View commit details
-
Copy full SHA for 1ab8b39 - Browse repository at this point
Copy the full SHA 1ab8b39View commit details -
This is so we get PEP8 errors at compile time God I love PEP8 but we got an ungodly amount of errors, and that's ignoring W191 (Tabs instead of Spaces)
Configuration menu - View commit details
-
Copy full SHA for 98a5bcb - Browse repository at this point
Copy the full SHA 98a5bcbView commit details -
Fixed destination folder issue and formatting
Originally the build script unzipped to the paths in blender_installs.txt directly, but that was incorrect logic and ended with the addons folder being polluted. This was an easy fix and I'm not sure how it slipped from my mind. In addition, I ran flake8 and fixed some formatting issues in the builder.
Configuration menu - View commit details
-
Copy full SHA for b31ab8a - Browse repository at this point
Copy the full SHA b31ab8aView commit details
Commits on May 14, 2023
-
Added bpy-build.yaml for bpy-build
bpy-build is a better version of mcprep-build that I'm working on. It's more general purpose but has far better configuration. bpy-build does work on the MCprep repo, I just need to finish some shortcommings
Configuration menu - View commit details
-
Copy full SHA for 79e5c7d - Browse repository at this point
Copy the full SHA 79e5c7dView commit details -
Added the during_build part to bpy-build.yaml
bpy-build now supports adding files during a build, which means we can now use bpy-build instead of mcprep-build (if we choose to do so).
Configuration menu - View commit details
-
Copy full SHA for b82549e - Browse repository at this point
Copy the full SHA b82549eView commit details
Commits on May 15, 2023
-
Moving from mcprep-build to bpy-addon-build
bpy-addon-build is the better version of mcprep-build (the former being based off the latter) and will be maintained better, so it makes no sense having a seperate build system. bpy-addon-build has the following advantages: - YAML config - Auto-installation without blender_installs.txt - Ability to define actions and run them in specific cases - Better terminal output - Better argument handling
Configuration menu - View commit details
-
Copy full SHA for 71e7e08 - Browse repository at this point
Copy the full SHA 71e7e08View commit details -
Flake8 is important for formatting checks so I've added it as a default action to be executed during the build process
Configuration menu - View commit details
-
Copy full SHA for 2bd8b60 - Browse repository at this point
Copy the full SHA 2bd8b60View commit details -
Updated bpy-addon-build version
bpy-addon-build was updated to better handle missing YAML config options, so this update is necesary
Configuration menu - View commit details
-
Copy full SHA for 2ad1f1b - Browse repository at this point
Copy the full SHA 2ad1f1bView commit details -
Updated bpy-addon-build version again
This version removes a debug statement... Maybe I should make a proper test suite
Configuration menu - View commit details
-
Copy full SHA for 24b62a0 - Browse repository at this point
Copy the full SHA 24b62a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd0a9cd - Browse repository at this point
Copy the full SHA bd0a9cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b7dd04 - Browse repository at this point
Copy the full SHA 2b7dd04View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3757350 - Browse repository at this point
Copy the full SHA 3757350View commit details -
Configuration menu - View commit details
-
Copy full SHA for 09b645f - Browse repository at this point
Copy the full SHA 09b645fView commit details
Commits on Jun 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 75e7650 - Browse repository at this point
Copy the full SHA 75e7650View commit details
Commits on Jun 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d7277a0 - Browse repository at this point
Copy the full SHA d7277a0View commit details
Commits on Jun 26, 2023
-
Broke up type alias Engine to be on multiple lines
This is to prevent the line from being too long Co-authored-by: Patrick W. Crawford <moo-ack@theduckcow.com>
Configuration menu - View commit details
-
Copy full SHA for 18058a4 - Browse repository at this point
Copy the full SHA 18058a4View commit details -
Ironically what was meant to be a fix ended up causing more issues... all because of incorrect syntax
Configuration menu - View commit details
-
Copy full SHA for 5eebc9b - Browse repository at this point
Copy the full SHA 5eebc9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c648fd8 - Browse repository at this point
Copy the full SHA c648fd8View commit details -
Sorry for the large diff, that's just my formatter being annoying
Configuration menu - View commit details
-
Copy full SHA for 6ea6825 - Browse repository at this point
Copy the full SHA 6ea6825View commit details -
This reverts commit 99ebce8. Currently we're still deciding on Black, so I'm reverting this for now
Configuration menu - View commit details
-
Copy full SHA for 81d2bd6 - Browse repository at this point
Copy the full SHA 81d2bd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2783954 - Browse repository at this point
Copy the full SHA 2783954View commit details -
Update compile.sh: quoted variables behind rm commands
Just a precaution, considering. Any hidden bugs involving word splitting or pathname expansion could be obviated just by adding double quotes to variable and array references.
Configuration menu - View commit details
-
Copy full SHA for 3ca0f4e - Browse repository at this point
Copy the full SHA 3ca0f4eView commit details
Commits on Jun 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for cfae687 - Browse repository at this point
Copy the full SHA cfae687View commit details -
Configuration menu - View commit details
-
Copy full SHA for 048cfab - Browse repository at this point
Copy the full SHA 048cfabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6723b36 - Browse repository at this point
Copy the full SHA 6723b36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a91a13 - Browse repository at this point
Copy the full SHA 1a91a13View commit details
Commits on Jul 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ec32056 - Browse repository at this point
Copy the full SHA ec32056View commit details
Commits on Jul 3, 2023
-
Added use of
__slots__
for PrepOptionsPrepOptions is a dataclass that has a static set of options; no new options can be added at runtime. Since that's a gurantee about the class, we can use `__slots__` to make sure that typos in field names generate an error. In addition, `__slots__` has a performance and memory benefit, but that's minor compared to the development improvement that would be gained. Due to Blender 2.8 using Python 3.7, we have to manually add the slots ourselves in the class definition. Hopefully in a future MCprep release we can remove this manual declaration and use the `slots` option in the dataclass decorator.
Configuration menu - View commit details
-
Copy full SHA for 232e8b7 - Browse repository at this point
Copy the full SHA 232e8b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for db565ec - Browse repository at this point
Copy the full SHA db565ecView commit details
Commits on Jul 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 150de11 - Browse repository at this point
Copy the full SHA 150de11View commit details -
Merge pull request #435 from wileyhy/patch-1
Update compile.sh: quoted variables behind rm commands
Configuration menu - View commit details
-
Copy full SHA for a6b5a76 - Browse repository at this point
Copy the full SHA a6b5a76View commit details -
Added use of
__slots__
for PrepOptionsPrepOptions is a dataclass that has a static set of options; no new options can be added at runtime. Since that's a gurantee about the class, we can use `__slots__` to make sure that typos in field names generate an error. In addition, `__slots__` has a performance and memory benefit, but that's minor compared to the development improvement that would be gained. Due to Blender 2.8 using Python 3.7, we have to manually add the slots ourselves in the class definition. Hopefully in a future MCprep release we can remove this manual declaration and use the `slots` option in the dataclass decorator.
Configuration menu - View commit details
-
Copy full SHA for b934bc4 - Browse repository at this point
Copy the full SHA b934bc4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f6b900 - Browse repository at this point
Copy the full SHA 7f6b900View commit details -
Replaced compile scripts with mcprep-build
(Saleman pitch time) mcprep-build is our new, state-of-the-art build system custom made for the MCprep project that's cross platform! Now we get less headaches from dealing with Bash and the Windows shell as this new build system is written in Python! Jokes aside, this new build system is much more maintainable then the old build system. I still need to add autopopulation, but it's 99% the same, minus fast mode. In the future I want to turn this into a general purpose bpy-addon-builder sorta thing, but let's not get ahead of ourselves.
Configuration menu - View commit details
-
Copy full SHA for 6b3b298 - Browse repository at this point
Copy the full SHA 6b3b298View commit details
Commits on Jul 5, 2023
-
Added all supported versions to bpy-build file
Co-authored-by: Patrick W. Crawford <theduckcow@live.com>
Configuration menu - View commit details
-
Copy full SHA for e915ecd - Browse repository at this point
Copy the full SHA e915ecdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c000a0 - Browse repository at this point
Copy the full SHA 4c000a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc9158d - Browse repository at this point
Copy the full SHA cc9158dView commit details
Commits on Jul 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f853242 - Browse repository at this point
Copy the full SHA f853242View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dbe0b1 - Browse repository at this point
Copy the full SHA 9dbe0b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 278931b - Browse repository at this point
Copy the full SHA 278931bView commit details
Commits on Jul 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d292559 - Browse repository at this point
Copy the full SHA d292559View commit details -
Disabling flake8 in the build script.
Having issues where it's not providing the intended result, still showing W191. Plus, Blender operator properties are not defined using a syntax that lint checkers can parse, creating a lot of noise. We'll need to rethink how to adopt this in the future.
Configuration menu - View commit details
-
Copy full SHA for b8518f1 - Browse repository at this point
Copy the full SHA b8518f1View commit details
Commits on Jul 17, 2023
-
Fix registration and callback issues, and standardized imports.
Removing unused imports, and fixing spacing inconsistencies in imports. Additionally, performed sorting on subsections for each import (e.g. all built in modules sorted among themselves).
Configuration menu - View commit details
-
Copy full SHA for afdbaf6 - Browse repository at this point
Copy the full SHA afdbaf6View commit details -
Configuration menu - View commit details
-
Copy full SHA for b5d580d - Browse repository at this point
Copy the full SHA b5d580dView commit details -
Replacing Literal with enums for 2.80 support and re-ordering imports.
Blender 2.80 is at this moment, generally speaking working much better now. There are still several unit tests that appear to be failing, but we can improve incrementally up until the release. As an end user, most functions are working ok (but not all.
Configuration menu - View commit details
-
Copy full SHA for 14308be - Browse repository at this point
Copy the full SHA 14308beView commit details -
Configuration menu - View commit details
-
Copy full SHA for b220b56 - Browse repository at this point
Copy the full SHA b220b56View commit details -
Force re-initializing MCprepEnv during register of addon.
Without this, tests were failing due to the addon being enabled and re-enabled. Users who did this would have also faced the same issue.
Configuration menu - View commit details
-
Copy full SHA for 50a7276 - Browse repository at this point
Copy the full SHA 50a7276View commit details -
Update more accurate deprecation definition.
Expecting to remove entirely in the first release after MCprep 3.5+ has gained more than 50% adoption.
Configuration menu - View commit details
-
Copy full SHA for 7a210d3 - Browse repository at this point
Copy the full SHA 7a210d3View commit details -
Merge pull request #425 from zNightlord/annotate-documment
Annotate document functions, major refactor.
Configuration menu - View commit details
-
Copy full SHA for fcafc2c - Browse repository at this point
Copy the full SHA fcafc2cView commit details
Commits on Jul 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 439524a - Browse repository at this point
Copy the full SHA 439524aView commit details -
Establish new cross platform test suite using unittest library.
This sets up the framework and ability to test the addon on multiple versions of blender. It continues to use the blender_execs.txt file to indicate which versions of blender are for running tests, but expands on controls to let the user specify which specific versions of blender they want to test, and with nice commandline documentation for args.
Configuration menu - View commit details
-
Copy full SHA for be6996d - Browse repository at this point
Copy the full SHA be6996dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbd1f20 - Browse repository at this point
Copy the full SHA fbd1f20View commit details
Commits on Jul 25, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 483f6e4 - Browse repository at this point
Copy the full SHA 483f6e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 456b3f9 - Browse repository at this point
Copy the full SHA 456b3f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d0c234 - Browse repository at this point
Copy the full SHA 8d0c234View commit details
Commits on Aug 6, 2023
-
Adding tests for utility operators.
All tests passing, but also created disabled by default tests that have UI triggered popups which would be annoying to have on by default, but are good for code coverage.
Configuration menu - View commit details
-
Copy full SHA for 236b06a - Browse repository at this point
Copy the full SHA 236b06aView commit details -
Merge pull request #448 from Moo-Ack-Productions/424-migrate-to-the-u…
…nittest-library Set up new unittest system
Configuration menu - View commit details
-
Copy full SHA for d0a5c76 - Browse repository at this point
Copy the full SHA d0a5c76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90967e0 - Browse repository at this point
Copy the full SHA 90967e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f1e6ef9 - Browse repository at this point
Copy the full SHA f1e6ef9View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed1f368 - Browse repository at this point
Copy the full SHA ed1f368View commit details -
Minimizing linting and adding test_matprep_cycles test.
Test intentionally does not yet pass, as there's a bug in the code to fix first. Will do so in the next commit.
Configuration menu - View commit details
-
Copy full SHA for 3019bae - Browse repository at this point
Copy the full SHA 3019baeView commit details -
Fixing material generation with saturation for 3.4+, added test timings
One reference wasn't using the new system for version-agnostic mix rgb slot selection, that is now fixed and all tests are passing across all versions.
Configuration menu - View commit details
-
Copy full SHA for 5afa19d - Browse repository at this point
Copy the full SHA 5afa19dView commit details
Commits on Aug 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 8c2710e - Browse repository at this point
Copy the full SHA 8c2710eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 946d70b - Browse repository at this point
Copy the full SHA 946d70bView commit details -
Adding tests for utility operators.
All tests passing, but also created disabled by default tests that have UI triggered popups which would be annoying to have on by default, but are good for code coverage.
Configuration menu - View commit details
-
Copy full SHA for e8fb90b - Browse repository at this point
Copy the full SHA e8fb90bView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1fe4bb - Browse repository at this point
Copy the full SHA c1fe4bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 999f2b7 - Browse repository at this point
Copy the full SHA 999f2b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fa110d - Browse repository at this point
Copy the full SHA 8fa110dView commit details -
Minimizing linting and adding test_matprep_cycles test.
Test intentionally does not yet pass, as there's a bug in the code to fix first. Will do so in the next commit.
Configuration menu - View commit details
-
Copy full SHA for a3fdba8 - Browse repository at this point
Copy the full SHA a3fdba8View commit details -
Fixing material generation with saturation for 3.4+, added test timings
One reference wasn't using the new system for version-agnostic mix rgb slot selection, that is now fixed and all tests are passing across all versions.
Configuration menu - View commit details
-
Copy full SHA for d5ef84c - Browse repository at this point
Copy the full SHA d5ef84cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbc5431 - Browse repository at this point
Copy the full SHA fbc5431View commit details -
Merge remote-tracking branch 'origin/424-migrate-unittests' into 424-…
…migrate-unittests
Configuration menu - View commit details
-
Copy full SHA for 33361e8 - Browse repository at this point
Copy the full SHA 33361e8View commit details
Commits on Aug 9, 2023
-
World import split tests and merging in new build system.
Tests are slower to run now since there's no -fast command, but all tests currently run.
Configuration menu - View commit details
-
Copy full SHA for c31574d - Browse repository at this point
Copy the full SHA c31574dView commit details
Commits on Aug 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 21b3aaf - Browse repository at this point
Copy the full SHA 21b3aafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b7014d - Browse repository at this point
Copy the full SHA 3b7014dView commit details
Commits on Aug 13, 2023
-
This is to make sure the latest versions of every dependency is installed, as to reduce variables in what could be causing errors.
Configuration menu - View commit details
-
Copy full SHA for 3ee90c4 - Browse repository at this point
Copy the full SHA 3ee90c4View commit details
Commits on Aug 14, 2023
-
Merge pull request #450 from Moo-Ack-Productions/424-migrate-unittests
Migrated initial prep material tests, all currently passing.
Configuration menu - View commit details
-
Copy full SHA for 5721a12 - Browse repository at this point
Copy the full SHA 5721a12View commit details