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-02-09 18:34:26 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-02-09 18:34:26 +0300
commit1045026ea23c8dac9b74f3cb2f2b4dc24a5d88af (patch)
treeafe212a7fc073f0469ecffd010d146160eed3902 /source/blender/editors/transform/transform_manipulator.c
parentcb490561d3a7db02d612800a1610c79f2e4eccaa (diff)
More housecleaning (BASACT > BASACT_NEW)
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r--source/blender/editors/transform/transform_manipulator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c
index 1dae055878b..33f065b4369 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -1663,6 +1663,7 @@ void BIF_draw_manipulator(const bContext *C)
ScrArea *sa = CTX_wm_area(C);
ARegion *ar = CTX_wm_region(C);
Scene *scene = CTX_data_scene(C);
+ SceneLayer *sl = CTX_data_scene_layer(C);
View3D *v3d = sa->spacedata.first;
RegionView3D *rv3d = ar->regiondata;
int totsel;
@@ -1687,7 +1688,7 @@ void BIF_draw_manipulator(const bContext *C)
case V3D_AROUND_ACTIVE:
{
bGPdata *gpd = CTX_data_gpencil_data(C);
- Object *ob = OBACT;
+ Object *ob = OBACT_NEW;
if (((v3d->around == V3D_AROUND_ACTIVE) && (scene->obedit == NULL)) &&
((gpd == NULL) || !(gpd->flag & GP_DATA_STROKE_EDITMODE)) &&