[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [48036] branches/soc-2012-bratwurst/source /blender/assimp/SceneImporter.cpp: - bf_assimp: set node name for empty dummy nodes.
Alexander Gessler
alexander.gessler at gmx.net
Mon Jun 18 15:13:20 CEST 2012
Revision: 48036
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48036
Author: aramis_acg
Date: 2012-06-18 13:13:11 +0000 (Mon, 18 Jun 2012)
Log Message:
-----------
- bf_assimp: set node name for empty dummy nodes.
Modified Paths:
--------------
branches/soc-2012-bratwurst/source/blender/assimp/SceneImporter.cpp
Modified: branches/soc-2012-bratwurst/source/blender/assimp/SceneImporter.cpp
===================================================================
--- branches/soc-2012-bratwurst/source/blender/assimp/SceneImporter.cpp 2012-06-18 13:04:03 UTC (rev 48035)
+++ branches/soc-2012-bratwurst/source/blender/assimp/SceneImporter.cpp 2012-06-18 13:13:11 UTC (rev 48036)
@@ -362,7 +362,7 @@
// be preserved to avoid loosing the trafo info.
if (meshes + cameras + lights == 0 && (!has_bones || has_mesh_descendants(in_node))) {
- Object* const obj = util_add_object(out_scene, OB_EMPTY, NULL);
+ Object* const obj = util_add_object(out_scene, OB_EMPTY, in_node.mName.C_Str());
objects_done.push_back(obj);
}
More information about the Bf-blender-cvs
mailing list