svn merge ^/trunk/blender -r46330:46335
[blender.git] / source / blender / collada / SkinInfo.cpp
index edc8981deab67051e455c1420e89b5d0258c1a4a..eaabecda2169a77bcb7b5d876911b6b93823900a 100644 (file)
@@ -151,7 +151,7 @@ void SkinInfo::set_controller(const COLLADAFW::SkinController* co)
 // called from write_controller
 Object *SkinInfo::create_armature(Scene *scene)
 {
-       ob_arm = bc_add_object(scene, OB_ARMATURE, NULL);
+       ob_arm = add_object(scene, OB_ARMATURE);
        return ob_arm;
 }