diff --git a/hecl/blender/hecl_blendershell.py b/hecl/blender/hecl_blendershell.py index ba459d909..01d64b15f 100644 --- a/hecl/blender/hecl_blendershell.py +++ b/hecl/blender/hecl_blendershell.py @@ -57,9 +57,9 @@ class PathHasher: read_str = readpipestr() return int(read_str[0:8], 16) -# Ensure Blender 2.8 is being used -if bpy.app.version < (2, 80, 0): - writepipestr(b'NOT280') +# Ensure Blender 2.81 is being used +if bpy.app.version < (2, 81, 0): + writepipestr(b'NOT281') _quitblender() # If there's a third argument, use it as the .zip path containing the addon diff --git a/hecl/lib/Blender/Connection.cpp b/hecl/lib/Blender/Connection.cpp index 4e80cf17f..6d4c7c0e5 100644 --- a/hecl/lib/Blender/Connection.cpp +++ b/hecl/lib/Blender/Connection.cpp @@ -527,9 +527,9 @@ Connection::Connection(int verbosityLevel) { else BlenderLog.report(logvisor::Fatal, fmt(_SYS_STR("Unable to find blender at '{}'")), DEFAULT_BLENDER_BIN); #endif - } else if (lineStr == "NOT280") { + } else if (lineStr == "NOT281") { _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") { _closePipe(); if (blenderAddonPath != _SYS_STR("SKIPINSTALL"))