Cycles: fix a few more msvc issues with empty scenes and ustring setting.

This commit is contained in:
2011-10-03 17:42:24 +00:00
parent da8f71bffb
commit 1ab9fc59b7
4 changed files with 8 additions and 7 deletions

View File

@@ -177,7 +177,7 @@ void BlenderSync::sync_object(BL::Object b_parent, int b_index, BL::Object b_ob,
/* object sync */
if(object_map.sync(&object, b_ob, b_parent, key)) {
object->name = b_ob.name();
object->name = b_ob.name().c_str();
object->tfm = tfm;
object->visibility = object_ray_visibility(b_ob) & visibility;