Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3dsmax: startup fixes #4412

Merged
merged 3 commits into from
Feb 2, 2023
Merged

Conversation

antirotor
Copy link
Member

@antirotor antirotor commented Feb 1, 2023

Brief description

This is fixing various issues that can occur on some of the 3dsmax versions.

Description

On displays with +4K resolution UI was broken, some 3dsmax versions couldn't process PYTHONPATH correctly. This PR is forcing sys.path and disabling QT_AUTO_SCREEN_SCALE_FACTOR

Testing notes:

  1. 3dsmax with OpenPype should start as expected
  2. No UI issues on high resolution displays

@antirotor antirotor added type: bug Something isn't working host: 3dsmax Autodesk 3dsmax labels Feb 1, 2023
@antirotor antirotor self-assigned this Feb 1, 2023
@moonyuet
Copy link
Member

moonyuet commented Feb 2, 2023

I dont have the 4k monitor but I test the code, it doesn't break Openpype working in the max host.
Also tested the suggested code on the startup.py. It also works and doesn't break the plugin working in the host.

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
@iLLiCiTiT iLLiCiTiT merged commit e42ee50 into develop Feb 2, 2023
@iLLiCiTiT iLLiCiTiT deleted the bugfix/3dsmax-python-path-handling branch February 2, 2023 10:42
@github-actions github-actions bot added this to the next-patch milestone Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
host: 3dsmax Autodesk 3dsmax type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants