@@ -2227,7 +2227,7 @@ void Import_Extension_VRM(LoaderState& state)
22272227 for (size_t boneGroup_index = 0 ; boneGroup_index < boneGroups.ArrayLen (); ++boneGroup_index)
22282228 {
22292229 const auto & boneGroup = boneGroups.Get (int (boneGroup_index));
2230- SpringComponent component;
2230+ SpringComponent component{} ;
22312231
22322232 if (boneGroup.Has (" dragForce" ))
22332233 {
@@ -2966,7 +2966,7 @@ void Import_Extension_VRMC(LoaderState& state)
29662966 for (size_t joint_index = 0 ; joint_index < joints.ArrayLen (); ++joint_index)
29672967 {
29682968 const auto & joint = joints.Get (int (joint_index));
2969- SpringComponent component;
2969+ SpringComponent component{} ;
29702970 // component.colliders = colliderIDs; // for now, we will just use all colliders in the scene for every spring
29712971
29722972 if (joint.Has (" dragForce" ))
@@ -4767,7 +4767,7 @@ void ExportModel_GLTF(const std::string& filename, Scene& scene)
47674767
47684768 // Build accessors
47694769
4770- size_t morph_pos_accessor_index;
4770+ size_t morph_pos_accessor_index = - 1 ;
47714771 if (buf_d_morph_pos_size > 0 )
47724772 {
47734773 // Sparse accessor indices
@@ -4812,7 +4812,7 @@ void ExportModel_GLTF(const std::string& filename, Scene& scene)
48124812 state.gltfModel .accessors .push_back (morph_pos_accessor_builder);
48134813 }
48144814
4815- size_t morph_norm_accessor_index;
4815+ size_t morph_norm_accessor_index = - 1 ;
48164816 if (buf_d_morph_norm_size > 0 )
48174817 {
48184818 // Sparse accessor indices
0 commit comments