[Bf-blender-cvs] [b5b780d] alembic_basic_io: Use case-sensitive str comparison.
Kévin Dietrich
noreply at git.blender.org
Thu Jul 21 00:33:39 CEST 2016
Commit: b5b780d0a8b57961143964b377dcee2b54eccc17
Author: Kévin Dietrich
Date: Wed Jul 20 22:11:57 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rBb5b780d0a8b57961143964b377dcee2b54eccc17
Use case-sensitive str comparison.
===================================================================
M source/blender/alembic/intern/abc_mesh.cc
===================================================================
diff --git a/source/blender/alembic/intern/abc_mesh.cc b/source/blender/alembic/intern/abc_mesh.cc
index 5b7b241..f121cf4 100644
--- a/source/blender/alembic/intern/abc_mesh.cc
+++ b/source/blender/alembic/intern/abc_mesh.cc
@@ -728,7 +728,7 @@ static Material *find_material(Main *bmain, const char *name)
Material *found_material = NULL;
for (; material; material = static_cast<Material *>(material->id.next)) {
- if (BLI_strcaseeq(material->id.name+2, name) == true) {
+ if (STREQ(material->id.name + 2, name)) {
found_material = material;
break;
}
More information about the Bf-blender-cvs
mailing list