Cleanup: quiet a couple more compilation warnings on MSVC
This commit is contained in:
@@ -142,7 +142,7 @@ void ABCCurveWriter::do_write(HierarchyContext &context)
|
||||
}
|
||||
}
|
||||
|
||||
orders.push_back(nurbs->orderu);
|
||||
orders.push_back(static_cast<uint8_t>(nurbs->orderu));
|
||||
vert_counts.push_back(verts.size() - current_point_count);
|
||||
}
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ void read_mverts(Mesh &mesh, const P3fArraySamplePtr positions, const N3fArraySa
|
||||
}
|
||||
if (normals) {
|
||||
float(*vert_normals)[3] = BKE_mesh_vertex_normals_for_write(&mesh);
|
||||
for (const int i : IndexRange(normals->size())) {
|
||||
for (const int64_t i : IndexRange(normals->size())) {
|
||||
Imath::V3f nor_in = (*normals)[i];
|
||||
copy_zup_from_yup(vert_normals[i], nor_in.getValue());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user