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

3ds max 2025 support #1121

Merged

Conversation

FrogsInSpace
Copy link
Contributor

adds support for 3ds Max 2025
including new menumanager API support ( plus menu refresh workarrounds )

@SergioRZMasson
Copy link
Contributor

I will take a look, should be done reviewing it today.

@SergioRZMasson
Copy link
Contributor

I'm fine with the PR in general, the only issue is that you Visual Studio is probably replacing spaces with tabs, this can make indentation look wrong depending on which editor you use (it looks wrong on Github for example). The standard for this repo is to use spaces.

@FrogsInSpace
Copy link
Contributor Author

Thanks, i'll fix the tabs of course
i assumed this to be configured via attributes ...

@SergioRZMasson
Copy link
Contributor

Thanks, i'll fix the tabs of course i assumed this to be configured via attributes ...

In visual studio go to: Tools->Options->Text Editor->All Languages->Tabs

Change Tab to use "Insert Spaces" instead of "Keep Tabs".

@SergioRZMasson
Copy link
Contributor

Thanks, i'll fix the tabs of course i assumed this to be configured via attributes ...

Sorry, I thought you were asking how to do it in Visual Studio. I'm not sure this can be configured via attributes, though...

@FrogsInSpace
Copy link
Contributor Author

FrogsInSpace commented Oct 29, 2024

Sorry, I thought you were asking how to do it in Visual Studio. I'm not sure this can be configured via attributes, though...

no prob,
AFAIK it can be done via attributes or even better via .editorconfig

I usually work with a multitude of projects from a a broad range of tech stacks and conventions. so changing the Visual Studio tab settings itself would be not feasable

I'll create a local .editorconfig, and maybe even create a PR for it later ...

@FrogsInSpace
Copy link
Contributor Author

FrogsInSpace commented Oct 29, 2024

Tabs have been converted back to spaces
I noticed the existing formating style mix of "if(..." and "if (..." was unified to "if (..." in the files i touched ( most likely by the untabify extension i used ). IMHO thats an improvement in any case at least ...

Copy link
Contributor

@SergioRZMasson SergioRZMasson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@SergioRZMasson SergioRZMasson merged commit 16ebba2 into BabylonJS:master Oct 29, 2024
5 checks passed
@FrogsInSpace
Copy link
Contributor Author

Thanks for merging, seems the pipeline did'nt build or include the 3dsMax 2025 build in the release assets. Installer says it can't find the Max_2025.zip either
So i guess this has to be something done somewhere in the CI/CD scripts

@SergioRZMasson
Copy link
Contributor

Yep, you are right. I will take a look at the CI.

@den-dc
Copy link

den-dc commented Oct 30, 2024

please i reaaly need 2025 support )

@SergioRZMasson
Copy link
Contributor

Done! Can you guys give it a try?

@FrogsInSpace
Copy link
Contributor Author

FrogsInSpace commented Oct 30, 2024

Installer seems to be working, download the zip and installing but for me the Max 2025 assembly version does'nt load into Max. Not sure about the reason currently.

There is the UiViewmodell.dll included in the Max_2025.zip package which shouldn't be in there ( its a 3ds Max binary ).
This is due to ref setting copy option not being set correctrly in the project settings.
This should fix it
#FrogsInSpace@0065160

@FrogsInSpace
Copy link
Contributor Author

FrogsInSpace commented Oct 30, 2024

Okay: appears that the tabs to space commit broke the Babylon menu registration process in the 3ds Max 2025 build
( #tabs to space

not sure what it is , but will have a look at it tomorrow ( its already late here :) )

@SergioRZMasson
Copy link
Contributor

I'm doing a quick PR to fix the unnecessary copy of 3DS Max binaries

@FrogsInSpace
Copy link
Contributor Author

FrogsInSpace commented Oct 30, 2024

I got thre reason for the failing menu creation:
For some reason the changed files in the tabs-to-spaces commit are UTF8-BOM encoded, and running the embedded maxscript fails because of that, i can fix that tomorrow

Update: got that bugger, faulty entry in .editorconfig which caused the UTF8-BOM encoding

@FrogsInSpace FrogsInSpace deleted the feature/3ds-Max-2025-support branch November 2, 2024 17:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants