mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-05-14 11:51:21 +00:00
Require Blender 2.81+
This commit is contained in:
parent
005a87917b
commit
3294047a06
@ -57,9 +57,9 @@ class PathHasher:
|
|||||||
read_str = readpipestr()
|
read_str = readpipestr()
|
||||||
return int(read_str[0:8], 16)
|
return int(read_str[0:8], 16)
|
||||||
|
|
||||||
# Ensure Blender 2.8 is being used
|
# Ensure Blender 2.81 is being used
|
||||||
if bpy.app.version < (2, 80, 0):
|
if bpy.app.version < (2, 81, 0):
|
||||||
writepipestr(b'NOT280')
|
writepipestr(b'NOT281')
|
||||||
_quitblender()
|
_quitblender()
|
||||||
|
|
||||||
# If there's a third argument, use it as the .zip path containing the addon
|
# If there's a third argument, use it as the .zip path containing the addon
|
||||||
|
@ -527,9 +527,9 @@ Connection::Connection(int verbosityLevel) {
|
|||||||
else
|
else
|
||||||
BlenderLog.report(logvisor::Fatal, fmt(_SYS_STR("Unable to find blender at '{}'")), DEFAULT_BLENDER_BIN);
|
BlenderLog.report(logvisor::Fatal, fmt(_SYS_STR("Unable to find blender at '{}'")), DEFAULT_BLENDER_BIN);
|
||||||
#endif
|
#endif
|
||||||
} else if (lineStr == "NOT280") {
|
} else if (lineStr == "NOT281") {
|
||||||
_closePipe();
|
_closePipe();
|
||||||
BlenderLog.report(logvisor::Fatal, fmt(_SYS_STR("Installed blender version must be >= 2.80")));
|
BlenderLog.report(logvisor::Fatal, fmt(_SYS_STR("Installed blender version must be >= 2.81")));
|
||||||
} else if (lineStr == "NOADDON") {
|
} else if (lineStr == "NOADDON") {
|
||||||
_closePipe();
|
_closePipe();
|
||||||
if (blenderAddonPath != _SYS_STR("SKIPINSTALL"))
|
if (blenderAddonPath != _SYS_STR("SKIPINSTALL"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user