diff --git a/openpype/hosts/tvpaint/api/communication_server.py b/openpype/hosts/tvpaint/api/communication_server.py index c8d6d3b458..e9c5f4c73e 100644 --- a/openpype/hosts/tvpaint/api/communication_server.py +++ b/openpype/hosts/tvpaint/api/communication_server.py @@ -586,7 +586,10 @@ class BaseCommunicator: "additional_libraries" ) additional_libs_folder = additional_libs_folder.replace("\\", "/") - if additional_libs_folder not in os.environ["PATH"]: + if ( + os.path.exists(additional_libs_folder) + and additional_libs_folder not in os.environ["PATH"] + ): os.environ["PATH"] += (os.pathsep + additional_libs_folder) # Path to TVPaint's plugins folder (where we want to add our plugin) diff --git a/openpype/hosts/tvpaint/tvpaint_plugin/plugin_files/windows_x64/additional_libraries/boost_random-vc142-mt-x64-1_72.dll b/openpype/hosts/tvpaint/tvpaint_plugin/plugin_files/windows_x64/additional_libraries/boost_random-vc142-mt-x64-1_72.dll deleted file mode 100644 index 46bd533b72..0000000000 Binary files a/openpype/hosts/tvpaint/tvpaint_plugin/plugin_files/windows_x64/additional_libraries/boost_random-vc142-mt-x64-1_72.dll and /dev/null differ diff --git a/openpype/hosts/tvpaint/tvpaint_plugin/plugin_files/windows_x86/additional_libraries/boost_random-vc142-mt-x32-1_72.dll b/openpype/hosts/tvpaint/tvpaint_plugin/plugin_files/windows_x86/additional_libraries/boost_random-vc142-mt-x32-1_72.dll deleted file mode 100644 index ccf2fd8562..0000000000 Binary files a/openpype/hosts/tvpaint/tvpaint_plugin/plugin_files/windows_x86/additional_libraries/boost_random-vc142-mt-x32-1_72.dll and /dev/null differ