svn merge ^/trunk/blender -r46300:46330
[blender.git] / source / blender / collada / ArmatureImporter.cpp
index 97de7590d0746d68c3013dc3584d7d2d5b66768f..e0bb984092561e7e0ceca6dcde486a32c819b0b7 100644 (file)
@@ -367,7 +367,7 @@ Object *ArmatureImporter::get_empty_for_leaves()
 {
        if (empty) return empty;
        
-       empty = bc_add_object(scene, OB_EMPTY, NULL);
+       empty = add_object(scene, OB_EMPTY);
        empty->empty_drawtype = OB_EMPTY_SPHERE;
 
        return empty;
@@ -412,7 +412,7 @@ void ArmatureImporter::create_armature_bones( )
                if ( get_armature_for_joint(*ri) != NULL ) continue;
                
                //add armature object for current joint
-               //Object *ob_arm = bc_add_object(scene, OB_ARMATURE, NULL);
+               //Object *ob_arm = add_object(scene, OB_ARMATURE);
 
                Object *ob_arm = joint_parent_map[(*ri)->getUniqueId()];