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:
authorCampbell Barton <ideasman42@gmail.com>2012-05-05 18:33:36 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-05 18:33:36 +0400
commit299ff91ea1fe5623bea1c6775cb8250d5e4ec3a0 (patch)
treef7a61065a76b683ea18caf77475f993486dfa14d /source/blender/editors/space_outliner/outliner_select.c
parenta731e130432a98ab8228112027cd3eaa8ed700b1 (diff)
code cleanup: BKE_scene api naming.
also stop numpy from being found in /usr/include with cmake.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_select.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_select.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c
index 00b3979b074..800953c1a62 100644
--- a/source/blender/editors/space_outliner/outliner_select.c
+++ b/source/blender/editors/space_outliner/outliner_select.c
@@ -159,7 +159,7 @@ static int tree_element_set_active_object(bContext *C, Scene *scene, SpaceOops
}
/* find associated base in current scene */
- base= object_in_scene(ob, scene);
+ base= BKE_scene_base_find(scene, ob);
if (base) {
if (set==2) {
@@ -171,7 +171,7 @@ static int tree_element_set_active_object(bContext *C, Scene *scene, SpaceOops
}
else {
/* deleselect all */
- scene_deselect_all(scene);
+ BKE_scene_base_deselect_all(scene);
ED_base_object_select(base, BA_SELECT);
}
if (C) {
@@ -551,7 +551,7 @@ static int tree_element_active_text(bContext *UNUSED(C), Scene *UNUSED(scene), S
static int tree_element_active_pose(bContext *C, Scene *scene, TreeElement *UNUSED(te), TreeStoreElem *tselem, int set)
{
Object *ob= (Object *)tselem->id;
- Base *base= object_in_scene(ob, scene);
+ Base *base= BKE_scene_base_find(scene, ob);
if (set) {
if (scene->obedit)
@@ -745,15 +745,15 @@ static int do_outliner_item_activate(bContext *C, Scene *scene, ARegion *ar, Spa
}
for (gob= gr->gobject.first; gob; gob= gob->next) {
- ED_base_object_select(object_in_scene(gob->ob, scene), sel);
+ ED_base_object_select(BKE_scene_base_find(scene, gob->ob), sel);
}
}
else {
- scene_deselect_all(scene);
+ BKE_scene_base_deselect_all(scene);
for (gob= gr->gobject.first; gob; gob= gob->next) {
if ((gob->ob->flag & SELECT) == 0)
- ED_base_object_select(object_in_scene(gob->ob, scene), BA_SELECT);
+ ED_base_object_select(BKE_scene_base_find(scene, gob->ob), BA_SELECT);
}
}