[Bf-blender-cvs] [3ff8aff] alembic_basic_io: Fix compiling after recent cleanup
Jens Verwiebe
noreply at git.blender.org
Wed Jul 20 22:40:14 CEST 2016
Commit: 3ff8aff50091a3e6ca09b5f28ef9b3beb6589a06
Author: Jens Verwiebe
Date: Wed Jul 20 22:39:47 2016 +0200
Branches: alembic_basic_io
https://developer.blender.org/rB3ff8aff50091a3e6ca09b5f28ef9b3beb6589a06
Fix compiling after recent cleanup
===================================================================
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 64ca552..998df24 100644
--- a/source/blender/alembic/intern/abc_mesh.cc
+++ b/source/blender/alembic/intern/abc_mesh.cc
@@ -755,7 +755,7 @@ static void assign_materials(Main *bmain, Object *ob, const std::map<std::string
continue;
}
- if (!object_add_material_slot(ob)) {
+ if (!BKE_object_material_slot_add(ob)) {
can_assign = false;
break;
}
More information about the Bf-blender-cvs
mailing list