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:
|
if file_type == 'JMS': |
|
scale_x = Matrix.Scale(custom_scale, 4, (1, 0, 0)) |
|
scale_y = Matrix.Scale(custom_scale, 4, (0, 1, 0)) |
|
scale_z = Matrix.Scale(custom_scale, 4, (0, 0, 1)) |
|
scale_matrix = scale_x @ scale_y @ scale_z |
|
|
|
position = position @ scale_matrix |
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.
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.