Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_scene_types.h
| Show First 20 Lines • Show All 1,887 Lines • ▼ Show 20 Lines | #define TESTBASELIB_BGMODE(v3d, scene, base) ( \ | ||||
| ((base)->lay & (v3d ? v3d->lay : scene->lay)) && \ | ((base)->lay & (v3d ? v3d->lay : scene->lay)) && \ | ||||
| ((base)->object->id.lib == NULL) && \ | ((base)->object->id.lib == NULL) && \ | ||||
| (((base)->object->restrictflag & OB_RESTRICT_VIEW) == 0)) | (((base)->object->restrictflag & OB_RESTRICT_VIEW) == 0)) | ||||
| #define BASE_EDITABLE_BGMODE(v3d, scene, base) ( \ | #define BASE_EDITABLE_BGMODE(v3d, scene, base) ( \ | ||||
| ((base)->lay & (v3d ? v3d->lay : scene->lay)) && \ | ((base)->lay & (v3d ? v3d->lay : scene->lay)) && \ | ||||
| ((base)->object->id.lib == NULL) && \ | ((base)->object->id.lib == NULL) && \ | ||||
| (((base)->object->restrictflag & OB_RESTRICT_VIEW) == 0)) | (((base)->object->restrictflag & OB_RESTRICT_VIEW) == 0)) | ||||
| #define BASE_SELECTABLE(v3d, base) ( \ | #define BASE_SELECTABLE(v3d, base) ( \ | ||||
| (base->lay & v3d->lay) && \ | (v3d != NULL) && \ | ||||
| (base->object->restrictflag & (OB_RESTRICT_SELECT | OB_RESTRICT_VIEW)) == 0) | (base->object->restrictflag & (OB_RESTRICT_SELECT | OB_RESTRICT_VIEW)) == 0) | ||||
| #define BASE_VISIBLE(v3d, base) ( \ | #define BASE_VISIBLE(v3d, base) ( \ | ||||
| (base->lay & v3d->lay) && \ | (base->lay & v3d->lay) && \ | ||||
| (base->object->restrictflag & OB_RESTRICT_VIEW) == 0) | (base->object->restrictflag & OB_RESTRICT_VIEW) == 0) | ||||
| #define BASE_VISIBLE_BGMODE(v3d, scene, base) ( \ | #define BASE_VISIBLE_BGMODE(v3d, scene, base) ( \ | ||||
| (base->lay & (v3d ? v3d->lay : scene->lay)) && \ | (base->lay & (v3d ? v3d->lay : scene->lay)) && \ | ||||
| (base->object->restrictflag & OB_RESTRICT_VIEW) == 0) | (base->object->restrictflag & OB_RESTRICT_VIEW) == 0) | ||||
| ▲ Show 20 Lines • Show All 363 Lines • Show Last 20 Lines | |||||