Cleanup: remove no longer needed BASE_ defines

This commit is contained in:
Dalai Felinto
2017-04-11 15:51:18 +02:00
parent 9a303d5db7
commit 6f8c838b78

View File

@@ -1929,18 +1929,6 @@ extern const char *RE_engine_id_CYCLES;
((base)->flag_legacy & SELECT) && \ ((base)->flag_legacy & SELECT) && \
((base)->lay & v3d->lay) && \ ((base)->lay & v3d->lay) && \
(((base)->object->restrictflag & OB_RESTRICT_VIEW) == 0)) (((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) ( \ #define TESTBASE_NEW(base) ( \
(((base)->flag & BASE_SELECTED) != 0) && \ (((base)->flag & BASE_SELECTED) != 0) && \