diff options
Diffstat (limited to 'source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc')
-rw-r--r-- | source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc b/source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc index 5be68565054..7d3e3cd84fd 100644 --- a/source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc +++ b/source/blender/io/wavefront_obj/exporter/obj_export_mesh.cc @@ -203,11 +203,6 @@ const Material *OBJMesh::get_object_material(const int16_t mat_nr) const */ Object *obj = const_cast<Object *>(&export_object_eval_); const Material *r_mat = BKE_object_material_get(obj, mat_nr + 1); -#ifdef DEBUG - if (!r_mat) { - std::cerr << "Material not found for mat_nr = " << mat_nr << std::endl; - } -#endif return r_mat; } |