diff options
Diffstat (limited to 'source/blender/io')
-rw-r--r-- | source/blender/io/collada/GeometryExporter.cpp | 1 | ||||
-rw-r--r-- | source/blender/io/wavefront_obj/importer/obj_import_mesh.cc | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/io/collada/GeometryExporter.cpp b/source/blender/io/collada/GeometryExporter.cpp index 44f52dc797c..a14d941ed43 100644 --- a/source/blender/io/collada/GeometryExporter.cpp +++ b/source/blender/io/collada/GeometryExporter.cpp @@ -370,6 +370,7 @@ void GeometryExporter::create_mesh_primitive_list(short material_index, int layer_index = CustomData_get_layer_index_n(&me->ldata, CD_PROP_FLOAT2, i); if (!this->export_settings.get_active_uv_only() || layer_index == active_uv_index) { + // char *name = CustomData_get_layer_name(&me->ldata, CD_PROP_FLOAT2, i); COLLADASW::Input texcoord_input( COLLADASW::InputSemantic::TEXCOORD, makeUrl(makeTexcoordSourceId(geom_id, i, this->export_settings.get_active_uv_only())), diff --git a/source/blender/io/wavefront_obj/importer/obj_import_mesh.cc b/source/blender/io/wavefront_obj/importer/obj_import_mesh.cc index f27bbd296e4..5a54874aae1 100644 --- a/source/blender/io/wavefront_obj/importer/obj_import_mesh.cc +++ b/source/blender/io/wavefront_obj/importer/obj_import_mesh.cc @@ -293,7 +293,7 @@ void MeshFromGeometry::create_uv_verts(Mesh *mesh) uv_map.finish(); /* If we have an object without UVs which resides in the same .obj file - * as an object which *does* have UVs we can end up adding and UV layer + * as an object which *does* have UVs we can end up adding a UV layer * filled with zeroes. * We could maybe check before creating this layer but that would need * iterating over the whole mesh to check for UVs and as this is probably |