Cleanup: remove no longer needed BASE_ defines
authorDalai Felinto <dfelinto@gmail.com>
Tue, 11 Apr 2017 13:51:18 +0000 (15:51 +0200)
committerDalai Felinto <dfelinto@gmail.com>
Tue, 11 Apr 2017 13:51:18 +0000 (15:51 +0200)
source/blender/makesdna/DNA_scene_types.h

index e3e97b943041066bb3e1f85d9a3e8bdb958771fe..7812e69da174358c772acf20b96969a31448a604 100644 (file)
@@ -1929,18 +1929,6 @@ extern const char *RE_engine_id_CYCLES;
        ((base)->flag_legacy & SELECT) &&                                         \
        ((base)->lay & v3d->lay) &&                                               \
        (((base)->object->restrictflag & OB_RESTRICT_VIEW) == 0))
-#define TESTBASELIB_BGMODE(v3d, scene, base)  (                               \
-       ((base)->flag_legacy & SELECT) &&                                         \
-       ((base)->lay & (v3d ? v3d->lay : scene->lay)) &&                          \
-       ((base)->object->id.lib == NULL) &&                                       \
-       (((base)->object->restrictflag & OB_RESTRICT_VIEW) == 0))
-#define BASE_EDITABLE_BGMODE(v3d, scene, base)  (                             \
-       ((base)->lay & (v3d ? v3d->lay : scene->lay)) &&                          \
-       ((base)->object->id.lib == NULL) &&                                       \
-       (((base)->object->restrictflag & OB_RESTRICT_VIEW) == 0))
-#define BASE_VISIBLE_BGMODE(v3d, scene, base)  (                              \
-       ((base)->lay & (v3d ? v3d->lay : scene->lay)) &&                          \
-       ((base)->object->restrictflag & OB_RESTRICT_VIEW) == 0)
 
 #define TESTBASE_NEW(base)  (                                                 \
        (((base)->flag & BASE_SELECTED) != 0) &&                                  \