Post by skippybeetle on May 1, 2020 20:06:32 GMT -5
Has anyone seen this error message or know what to do with it?
I was trying to import a new mesh for a project,
Sims 4 Studio 1.3.1.0 (Apple Blossom)
S4Studio.Blender.BlenderException:
File "/Users/[UserName]/.local/share/S4Studio/Scripts/objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
at S4Studio.Blender.BlenderUtilities.RunBlender (System.String script, System.String blend, System.Boolean background, System.Boolean check_version) [0x0038a] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/BlenderUtilities.cs:248
at S4Studio.Blender.BlenderUtilities.ImportMlod (System.String fileName, System.String mlod, System.String rig, System.String state) [0x000a4] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/BlenderUtilities.cs:483
at S4Studio.ViewModels.ObjectLodItem.ImportMesh (S4Studio.Blender.BlenderUtilities blender_util, System.String blender_path) [0x000e5] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/ViewModels/BuildBuy/Objects/ObjectLodItem.cs:641
at S4Studio.ViewModels.ObjectLodItem+<>c__DisplayClass49_0.<ImportMesh>b__0 () [0x0000d] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/ViewModels/BuildBuy/Objects/ObjectLodItem.cs:622
at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00016] in /Users/a/thes4studio/TheS4Studio/S4Studio.Mac/UI/Core/S4SWindow.cs:171
I was trying to import a new mesh for a project,
Sims 4 Studio 1.3.1.0 (Apple Blossom)
S4Studio.Blender.BlenderException:
File "/Users/[UserName]/.local/share/S4Studio/Scripts/objectexporter.py", line 14, in <module>
save_lod(mlod,geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/blender.py", line 393, in save_lod
save_mesh(blender_mesh, m, new_mesh, geometry_state)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/blender.py", line 279, in save_mesh
pos_scales = calculate_pos_scales(total_mesh_bounds, max_pos_size)
File "/Users/[UserName]/Library/Application Support/Blender/2.78/scripts/addons/s4studio/buybuild/geometry.py", line 38, in calculate_pos_scales
extremes = [math.ceil(max([abs(x) for x in extremes]))] * 3
OverflowError: cannot convert float infinity to integer
at S4Studio.Blender.BlenderUtilities.RunBlender (System.String script, System.String blend, System.Boolean background, System.Boolean check_version) [0x0038a] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/BlenderUtilities.cs:248
at S4Studio.Blender.BlenderUtilities.ImportMlod (System.String fileName, System.String mlod, System.String rig, System.String state) [0x000a4] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/BlenderUtilities.cs:483
at S4Studio.ViewModels.ObjectLodItem.ImportMesh (S4Studio.Blender.BlenderUtilities blender_util, System.String blender_path) [0x000e5] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/ViewModels/BuildBuy/Objects/ObjectLodItem.cs:641
at S4Studio.ViewModels.ObjectLodItem+<>c__DisplayClass49_0.<ImportMesh>b__0 () [0x0000d] in /Users/a/thes4studio/TheS4Studio/S4Studio.Shared/ViewModels/BuildBuy/Objects/ObjectLodItem.cs:622
at S4S.UI.Core.S4SWindow+<>c__DisplayClass11_0.<BeginLoading>b__1 () [0x00016] in /Users/a/thes4studio/TheS4Studio/S4Studio.Mac/UI/Core/S4SWindow.cs:171