Post by complexsims on May 14, 2019 5:29:15 GMT -5
I edited my weight paint and after saving I could not import back in.
The Sims 4 Studio - Version 3.1.2.4
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\[UserName]s\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 122, in save_geom
weight_list[blend_index_map] = min(int(vertex.groups.weight * 255), 255)
ValueError: cannot convert float NaN to integer
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut)
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass71_0.<ExecuteImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\[UserName]s\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 122, in save_geom
weight_list[blend_index_map] = min(int(vertex.groups.weight * 255), 255)
ValueError: cannot convert float NaN to integer
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut)
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass71_0.<ExecuteImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
The Sims 4 Studio - Version 3.1.2.4
System.AggregateException: One or more errors occurred. ---> S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\[UserName]s\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 122, in save_geom
weight_list[blend_index_map] = min(int(vertex.groups.weight * 255), 255)
ValueError: cannot convert float NaN to integer
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut)
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass71_0.<ExecuteImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) S4Studio.Blender.BlenderException:
File "<string>", line 2, in <module>
File "C:\ProgramData\S4Studio\Scripts\geomexporter.py", line 39, in <module>
save_geom(geom, o, body_type)
File "C:\[UserName]s\[UserName]\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\s4studio\cas\blender.py", line 122, in save_geom
weight_list[blend_index_map] = min(int(vertex.groups.weight * 255), 255)
ValueError: cannot convert float NaN to integer
AL lib: (EE) UpdateDeviceParams: Failed to set 44100hz, got 48000hz instead
at S4Studio.Blender.BlenderUtilities.RunBlender(String script, String blend, Boolean background, Boolean check_version)
at S4Studio.Blender.BlenderUtilities.ImportGeom(String custom_blend, String custom_geom, Int32 body_type, String cut)
at S4Studio.ViewModels.CAS.CASLODItem.ImportMesh(BlenderUtilities blender_util, String blender_path)
at S4Studio.ViewModels.CAS.CASStandalone.<>c__DisplayClass71_0.<ExecuteImportMesh>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---