From 679c4348ff3956e4be47994135888544d57409dc Mon Sep 17 00:00:00 2001 From: Peter Hunt Date: Thu, 5 May 2022 16:47:29 +0100 Subject: [PATCH] Fix Blender 3 check --- README.md | 2 +- vfxwindow/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f030be9..68ecd10 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ if __name__ == '__main__': - Substance Designer (tested on 2019.3) - standard, docked (unable to save/load position) - 3D Studio Max (2018+, tested on 2020) - standard - Houdini (tested on 16) - standard - - Blender (tested on 2.80) - standard, callbacks + - Blender (tested on 2.8 - 3.1) - standard, callbacks - Unreal (4.19+, tested on 4.23) - standard - Fusion (tested on 9) - standard - Standalone (Qt4, Qt5, tested on 2.7, 3.4+) - standard diff --git a/vfxwindow/__init__.py b/vfxwindow/__init__.py index 6f95713..ca60007 100644 --- a/vfxwindow/__init__.py +++ b/vfxwindow/__init__.py @@ -74,7 +74,7 @@ class NotImplementedApplicationError(ImportError, NotImplementedError): elif importable('hou') and 'houdini' in sys.executable: from .houdini import HoudiniWindow as VFXWindow -elif importable('bpy') and 'blender.exe' in sys.executable: +elif importable('bpy') and 'Blender Foundation' in sys.executable: from .blender import BlenderWindow as VFXWindow elif importable('unreal') and 'UE4Editor.exe' in sys.executable: