Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/engines/overlay/overlay_engine.c
| Show First 20 Lines • Show All 279 Lines • ▼ Show 20 Lines | static bool overlay_should_fade_object(Object *ob, Object *active_object) | ||||
| if (ELEM(active_object->mode, OB_MODE_OBJECT, OB_MODE_POSE)) { | if (ELEM(active_object->mode, OB_MODE_OBJECT, OB_MODE_POSE)) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| if ((active_object->mode & ob->mode) != 0) { | if ((active_object->mode & ob->mode) != 0) { | ||||
| return false; | return false; | ||||
| } | } | ||||
| if (ob->base_flag & BASE_FROM_DUPLI) { | |||||
| return false; | |||||
| } | |||||
| return true; | return true; | ||||
| } | } | ||||
| static void OVERLAY_cache_populate(void *vedata, Object *ob) | static void OVERLAY_cache_populate(void *vedata, Object *ob) | ||||
| { | { | ||||
| OVERLAY_Data *data = vedata; | OVERLAY_Data *data = vedata; | ||||
| OVERLAY_PrivateData *pd = data->stl->pd; | OVERLAY_PrivateData *pd = data->stl->pd; | ||||
| ▲ Show 20 Lines • Show All 410 Lines • Show Last 20 Lines | |||||