Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenloader/intern/readfile.c')
-rw-r--r--source/blender/blenloader/intern/readfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 475a05339f5..3005837ba7f 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -8529,7 +8529,7 @@ static int object_in_any_scene(Main *mainvar, Object *ob)
Scene *sce;
for (sce= mainvar->scene.first; sce; sce= sce->id.next)
- if (object_in_scene(ob, sce))
+ if (BKE_scene_base_find(sce, ob))
return 1;
return 0;
}
@@ -8611,7 +8611,7 @@ static void give_base_to_groups(Main *mainvar, Scene *scene)
ob->lay= scene->lay;
/* assign the base */
- base= scene_add_base(scene, ob);
+ base= BKE_scene_base_add(scene, ob);
base->flag |= SELECT;
base->object->flag= base->flag;
ob->recalc |= OB_RECALC_OB|OB_RECALC_DATA|OB_RECALC_TIME;