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/makesdna/DNA_scene_types.h
parentc35f1d05eaa13348d4f33cdb44f6fb62f68e1ba3 (diff)
Rename Scene macros back to their original _NEW less names
Diffstat (limited to 'source/blender/makesdna/DNA_scene_types.h')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index f6efca10700..a7006e0157e 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -1912,29 +1912,29 @@ extern const char *RE_engine_id_CYCLES;
#define MINAFRAMEF -1048574.0f
/* deprecate this! */
-#define TESTBASE_NEW(base) ( \
+#define TESTBASE(base) ( \
(((base)->flag & BASE_SELECTED) != 0) && \
(((base)->flag & BASE_VISIBLED) != 0))
-#define TESTBASELIB_NEW(base) ( \
+#define TESTBASELIB(base) ( \
(((base)->flag & BASE_SELECTED) != 0) && \
((base)->object->id.lib == NULL) && \
(((base)->flag & BASE_VISIBLED) != 0))
-#define TESTBASELIB_BGMODE_NEW(base) ( \
+#define TESTBASELIB_BGMODE(base) ( \
(((base)->flag & BASE_SELECTED) != 0) && \
((base)->object->id.lib == NULL) && \
(((base)->flag & BASE_VISIBLED) != 0))
-#define BASE_EDITABLE_BGMODE_NEW(base) ( \
+#define BASE_EDITABLE_BGMODE(base) ( \
((base)->object->id.lib == NULL) && \
(((base)->flag & BASE_VISIBLED) != 0))
-#define BASE_SELECTABLE_NEW(base) \
+#define BASE_SELECTABLE(base) \
(((base)->flag & BASE_SELECTABLED) != 0)
-#define BASE_VISIBLE_NEW(base) ( \
+#define BASE_VISIBLE(base) ( \
((base)->flag & BASE_VISIBLED) != 0)
-#define FIRSTBASE_NEW(_sl) ((_sl)->object_bases.first)
-#define LASTBASE_NEW(_sl) ((_sl)->object_bases.last)
-#define BASACT_NEW(_sl) ((_sl)->basact)
-#define OBACT_NEW(_sl) (BASACT_NEW(_sl) ? BASACT_NEW(_sl)->object: NULL)
+#define FIRSTBASE(_sl) ((_sl)->object_bases.first)
+#define LASTBASE(_sl) ((_sl)->object_bases.last)
+#define BASACT(_sl) ((_sl)->basact)
+#define OBACT(_sl) (BASACT(_sl) ? BASACT(_sl)->object: NULL)
#define V3D_CAMERA_LOCAL(v3d) ((!(v3d)->scenelock && (v3d)->camera) ? (v3d)->camera : NULL)
#define V3D_CAMERA_SCENE(scene, v3d) ((!(v3d)->scenelock && (v3d)->camera) ? (v3d)->camera : (scene)->camera)