Max: User's setting for scene unit scale #6097
Conversation
…ngs /refactor fbx extractors
|
Task linked: OP-7596 3dsmax: unit scale issue for FBX |
Minkiu
left a comment
There was a problem hiding this comment.
Haven't tested it, but code looks good.
LiborBatek
left a comment
There was a problem hiding this comment.
Well in short, doesnt work for me...
Tested just in legacy OP and max 2024 I first tested the default Inches setting and then metric millimeters but neither worked well.
The max scene still showing generic measureless units and not the one set in OP Settings.
Also the Set Units Scale menu action doesnt work at all.
What I have expected: when set in OP Settings some unit type that the workfile adopts it immedeatelly when created and/or if needed on already saved workfile to be able to use menu action set units scale to properly set the units according to OP Settings.
Right now it does not do any of these?
|
@LiborBatek the latest commit would use the metric types for unit scale and it is set accordingly with the project settings. |
Only metric system being supported right now. |
I am creating an issue for this and keep it as record. The #postSystemStartup callback is still not working as expected (like what it does in the past) so currently we can't propagate the setting during the launch. @antirotor would you mind take a glance at the code to see anything needs specific change? Thanks! |
There was a problem hiding this comment.
Code concerning units changes looks good, but I have slight objection against changes in the event system within this PR - if I read it correctly, the changes have nothing to do with the actual unit scale issue. If the automatic change of units during the startup cannot be done because some issue with events, I wouldn't include these changes here at all and move them to separate issue/PR
I have restored the code for event system, and we can wait to refactor it when the postSystemStartup callback has been fixed. |






Changelog Description
Options for users to set the default scene unit scale for their scenes.


AYON
Legacy OP


Additional info
Fbx extractor is refactored regarding to the implementation for the related unit scale parameters.
Testing notes:
Legacy OP
AYON