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:
authorDalai Felinto <dfelinto@gmail.com>2017-11-09 18:23:01 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-11-09 18:35:46 +0300
commitcec7f1215acffcd31e591fce83d78268aff6e72a (patch)
treefeb2b640e627b0f74cc57d6639f505e90889a383 /source/blender/editors/space_outliner/outliner_tree.c
parentc35f1d05eaa13348d4f33cdb44f6fb62f68e1ba3 (diff)
Rename Scene macros back to their original _NEW less names
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_tree.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_tree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index 88c5aa431c9..f843c474f98 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -1873,7 +1873,7 @@ void outliner_build_tree(Main *mainvar, Scene *scene, SceneLayer *sl, SpaceOops
}
}
else if (soops->outlinevis == SO_SAME_TYPE) {
- Object *ob_active = OBACT_NEW(sl);
+ Object *ob_active = OBACT(sl);
if (ob_active) {
FOREACH_SCENE_OBJECT(scene, ob)
{
@@ -1952,8 +1952,8 @@ void outliner_build_tree(Main *mainvar, Scene *scene, SceneLayer *sl, SpaceOops
outliner_add_collections_master(soops, scene);
}
else {
- ten = outliner_add_element(soops, &soops->tree, OBACT_NEW(sl), NULL, 0, 0);
- ten->directdata = BASACT_NEW(sl);
+ ten = outliner_add_element(soops, &soops->tree, OBACT(sl), NULL, 0, 0);
+ ten->directdata = BASACT(sl);
}
if ((soops->flag & SO_SKIP_SORT_ALPHA) == 0) {