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/transform/transform_orientations.c
parentc35f1d05eaa13348d4f33cdb44f6fb62f68e1ba3 (diff)
Rename Scene macros back to their original _NEW less names
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r--source/blender/editors/transform/transform_orientations.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c
index e91db762eb1..86f99c4fed2 100644
--- a/source/blender/editors/transform/transform_orientations.c
+++ b/source/blender/editors/transform/transform_orientations.c
@@ -581,7 +581,7 @@ int getTransformOrientation_ex(const bContext *C, float normal[3], float plane[3
SceneLayer *sl = CTX_data_scene_layer(C);
Object *obedit = CTX_data_edit_object(C);
Base *base;
- Object *ob = OBACT_NEW(sl);
+ Object *ob = OBACT(sl);
int result = ORIENTATION_NONE;
const bool activeOnly = (around == V3D_AROUND_ACTIVE);
@@ -1044,8 +1044,8 @@ int getTransformOrientation_ex(const bContext *C, float normal[3], float plane[3
}
else {
/* we need the one selected object, if its not active */
- base = BASACT_NEW(sl);
- ob = OBACT_NEW(sl);
+ base = BASACT(sl);
+ ob = OBACT(sl);
if (base && ((base->flag & BASE_SELECTED) != 0)) {
/* pass */
}
@@ -1053,7 +1053,7 @@ int getTransformOrientation_ex(const bContext *C, float normal[3], float plane[3
/* first selected */
ob = NULL;
for (base = sl->object_bases.first; base; base = base->next) {
- if (TESTBASELIB_NEW(base)) {
+ if (TESTBASELIB(base)) {
ob = base->object;
break;
}