diff options
Diffstat (limited to 'source/blender/io/usd/intern/usd_writer_abstract.cc')
-rw-r--r-- | source/blender/io/usd/intern/usd_writer_abstract.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/usd/intern/usd_writer_abstract.cc b/source/blender/io/usd/intern/usd_writer_abstract.cc index e6021fa33fe..6ec9d835c89 100644 --- a/source/blender/io/usd/intern/usd_writer_abstract.cc +++ b/source/blender/io/usd/intern/usd_writer_abstract.cc @@ -74,7 +74,7 @@ static std::string get_active_uvlayer_name(Mesh *me) * assuming the Object is of type MESH. */ static std::string get_active_uvlayer_name(Object *ob) { - if (!ob || !ob->type == OB_MESH) { + if (!ob || ob->type != OB_MESH) { return ""; } Mesh *me = static_cast<Mesh *>(ob->data); |