diff options
Diffstat (limited to 'source/blender/io')
-rw-r--r-- | source/blender/io/alembic/exporter/abc_writer_nurbs.cc | 2 | ||||
-rw-r--r-- | source/blender/io/alembic/intern/abc_reader_mesh.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/io/alembic/exporter/abc_writer_nurbs.cc b/source/blender/io/alembic/exporter/abc_writer_nurbs.cc index 1fd382214a6..14cb7773e67 100644 --- a/source/blender/io/alembic/exporter/abc_writer_nurbs.cc +++ b/source/blender/io/alembic/exporter/abc_writer_nurbs.cc @@ -64,7 +64,7 @@ void ABCNurbsWriter::create_alembic_objects(const HierarchyContext *context) std::string patch_name = patch_name_stream.str(); CLOG_INFO(&LOG, 2, "exporting %s/%s", abc_parent_path, patch_name.c_str()); - ONuPatch nurbs(abc_parent, patch_name.c_str(), timesample_index_); + ONuPatch nurbs(abc_parent, patch_name, timesample_index_); abc_nurbs_.push_back(nurbs); abc_nurbs_schemas_.push_back(nurbs.getSchema()); } diff --git a/source/blender/io/alembic/intern/abc_reader_mesh.cc b/source/blender/io/alembic/intern/abc_reader_mesh.cc index 756dde3783c..98130eb28cd 100644 --- a/source/blender/io/alembic/intern/abc_reader_mesh.cc +++ b/source/blender/io/alembic/intern/abc_reader_mesh.cc @@ -104,7 +104,7 @@ static void assign_materials(Main *bmain, for (; it != mat_index_map.end(); ++it) { std::string mat_name = it->first; - mat_iter = mat_map.find(mat_name.c_str()); + mat_iter = mat_map.find(mat_name); Material *assigned_mat; |