svn merge ^/trunk/blender -r46300:46330
[blender.git] / source / blender / collada / SkinInfo.cpp
index f7cb7dc96c2b570d4bc54314473321cfc17aa733..75cec3337e85e33d2e3fd50a74fe596f37414435 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;
 }