Remove BASE_VISIBLE, BASE_SELECTABLE, TESTBASELIB (no longer used)
This commit is contained in:
@@ -1967,11 +1967,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(v3d, base) ( \
|
||||
((base)->flag_legacy & SELECT) && \
|
||||
((base)->lay & v3d->lay) && \
|
||||
((base)->object->id.lib == NULL) && \
|
||||
(((base)->object->restrictflag & OB_RESTRICT_VIEW) == 0))
|
||||
#define TESTBASELIB_BGMODE(v3d, scene, base) ( \
|
||||
((base)->flag_legacy & SELECT) && \
|
||||
((base)->lay & (v3d ? v3d->lay : scene->lay)) && \
|
||||
@@ -1981,12 +1976,6 @@ extern const char *RE_engine_id_CYCLES;
|
||||
((base)->lay & (v3d ? v3d->lay : scene->lay)) && \
|
||||
((base)->object->id.lib == NULL) && \
|
||||
(((base)->object->restrictflag & OB_RESTRICT_VIEW) == 0))
|
||||
#define BASE_SELECTABLE(v3d, base) ( \
|
||||
(v3d != NULL) && \
|
||||
((base)->object->restrictflag & (OB_RESTRICT_SELECT | OB_RESTRICT_VIEW)) == 0)
|
||||
#define BASE_VISIBLE(v3d, base) ( \
|
||||
((base)->lay & v3d->lay) && \
|
||||
((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)
|
||||
|
||||
Reference in New Issue
Block a user