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/makesrna/intern/rna_scene.c
parentc35f1d05eaa13348d4f33cdb44f6fb62f68e1ba3 (diff)
Rename Scene macros back to their original _NEW less names
Diffstat (limited to 'source/blender/makesrna/intern/rna_scene.c')
-rw-r--r--source/blender/makesrna/intern/rna_scene.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c
index 8e469813b36..e96ceffe1fc 100644
--- a/source/blender/makesrna/intern/rna_scene.c
+++ b/source/blender/makesrna/intern/rna_scene.c
@@ -1858,7 +1858,7 @@ static char *rna_MeshStatVis_path(PointerRNA *UNUSED(ptr))
static void rna_Scene_update_active_object_data(bContext *C, PointerRNA *UNUSED(ptr))
{
SceneLayer *scene_layer = CTX_data_scene_layer(C);
- Object *ob = OBACT_NEW(scene_layer);
+ Object *ob = OBACT(scene_layer);
if (ob) {
DEG_id_tag_update(&ob->id, OB_RECALC_DATA);