Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2377 from pypeclub/feature/OP-2092_Blender-30-OP-…
Browse files Browse the repository at this point in the history
…is-not-integrated

Blender 3: Support auto install for new blender version
  • Loading branch information
iLLiCiTiT authored Dec 14, 2021
2 parents a4be22c + 0b6e2f3 commit d69d8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openpype/hosts/blender/hooks/pre_pyside_install.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def execute(self):

def inner_execute(self):
# Get blender's python directory
version_regex = re.compile(r"^2\.[0-9]{2}$")
version_regex = re.compile(r"^[2-3]\.[0-9]+$")

executable = self.launch_context.executable.executable_path
if os.path.basename(executable).lower() != "blender.exe":
Expand Down

0 comments on commit d69d8f3

Please sign in to comment.