diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2017-11-09 18:23:01 +0300 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2017-11-09 18:35:46 +0300 |
commit | cec7f1215acffcd31e591fce83d78268aff6e72a (patch) | |
tree | feb2b640e627b0f74cc57d6639f505e90889a383 /source/blender/editors/space_view3d/view3d_draw.c | |
parent | c35f1d05eaa13348d4f33cdb44f6fb62f68e1ba3 (diff) |
Rename Scene macros back to their original _NEW less names
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 13d5f590177..1e273462d52 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -1316,7 +1316,7 @@ float ED_view3d_grid_scale(Scene *scene, View3D *v3d, const char **grid_unit) static bool is_cursor_visible(Scene *scene, SceneLayer *sl) { - Object *ob = OBACT_NEW(sl); + Object *ob = OBACT(sl); /* don't draw cursor in paint modes, but with a few exceptions */ if (ob && ob->mode & OB_MODE_ALL_PAINT) { @@ -1847,7 +1847,7 @@ void view3d_draw_region_info(const bContext *C, ARegion *ar, const int offset) if (U.uiflag & USER_DRAWVIEWINFO) { SceneLayer *sl = CTX_data_scene_layer(C); - Object *ob = OBACT_NEW(sl); + Object *ob = OBACT(sl); draw_selected_name(scene, ob, &rect); } #if 0 /* TODO */ |