diff options
author | Jacques Lucke <jacques@blender.org> | 2020-07-03 17:54:08 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-07-03 17:54:08 +0300 |
commit | 1019c9f582f2cb588eea16ac0e23abea71de6308 (patch) | |
tree | dc5f8cf49639f54dd65252f0f3c0400713ec68bb /source/blender/io/usd | |
parent | 883f9dd6e5f14e9139b35a39b62b08a346dc0a96 (diff) |
Clang-Tidy: enable bugprone-too-small-loop-variable
Diffstat (limited to 'source/blender/io/usd')
-rw-r--r-- | source/blender/io/usd/intern/usd_writer_mesh.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/usd/intern/usd_writer_mesh.cc b/source/blender/io/usd/intern/usd_writer_mesh.cc index 29a9734f876..bd2c549e729 100644 --- a/source/blender/io/usd/intern/usd_writer_mesh.cc +++ b/source/blender/io/usd/intern/usd_writer_mesh.cc @@ -338,7 +338,7 @@ void USDGenericMeshWriter::assign_materials(const HierarchyContext &context, * https://github.com/PixarAnimationStudios/USD/issues/542 for more info. */ bool mesh_material_bound = false; pxr::UsdShadeMaterialBindingAPI material_binding_api(usd_mesh.GetPrim()); - for (short mat_num = 0; mat_num < context.object->totcol; mat_num++) { + for (int mat_num = 0; mat_num < context.object->totcol; mat_num++) { Material *material = BKE_object_material_get(context.object, mat_num + 1); if (material == nullptr) { continue; |