-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Custom scale doesn't apply to ASS files #62
Comments
That's like that because ASS has a scale value in the format. Scale from the object gets written there and the unscaled object dimensions are written to the file. Proper fix would be to make sure the scale value written is correct after using a custom scale value. |
Looking at the code I can't see anywhere the custom scale is applied to the file. Here's a test scene .blend: The custom scale is set to 10. When I export to |
all i did was make the map biger and blender crashed with error related to toolset
|
Please post that in the Osoyoos github as a new issue. Not here. |
Whenever I've tried to use a custom scale with level structures I've noticed that everything comes out the expected size, but with the wrong positions. After a very quick look I've found this section:
Halo-Asset-Blender-Development-Toolset/io_scene_halo/global_functions/global_functions.py
Lines 519 to 525 in 4057871
If I change the if to include 'ASS':
if file_type == 'JMS' or file_type == 'ASS':
It seems to work as expected (at least for my simple test scene). I'm not sure if this breaks something else or if it's the only section of code that needs changing to fully fix the issue.
The text was updated successfully, but these errors were encountered: