Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/library_query.c
| Show First 20 Lines • Show All 445 Lines • ▼ Show 20 Lines | switch ((ID_Type)GS(id->name)) { | ||||
| } | } | ||||
| for (LinkData *link = sc->filter_objects.first; link; link = link->next) { | for (LinkData *link = sc->filter_objects.first; link; link = link->next) { | ||||
| CALLBACK_INVOKE_ID(link->data, IDWALK_CB_USER); | CALLBACK_INVOKE_ID(link->data, IDWALK_CB_USER); | ||||
| } | } | ||||
| } | } | ||||
| FOREACH_SCENE_COLLECTION_END | FOREACH_SCENE_COLLECTION_END | ||||
| SceneLayer *scene_layer; | ViewLayer *view_layer; | ||||
| for (scene_layer = scene->render_layers.first; scene_layer; scene_layer = scene_layer->next) { | for (view_layer = scene->view_layers.first; view_layer; view_layer = view_layer->next) { | ||||
| for (Base *base = scene_layer->object_bases.first; base; base = base->next) { | for (Base *base = view_layer->object_bases.first; base; base = base->next) { | ||||
| CALLBACK_INVOKE(base->object, IDWALK_NOP); | CALLBACK_INVOKE(base->object, IDWALK_NOP); | ||||
| } | } | ||||
| for (FreestyleModuleConfig *fmc = scene_layer->freestyle_config.modules.first; fmc; fmc = fmc->next) { | for (FreestyleModuleConfig *fmc = view_layer->freestyle_config.modules.first; fmc; fmc = fmc->next) { | ||||
| if (fmc->script) { | if (fmc->script) { | ||||
| CALLBACK_INVOKE(fmc->script, IDWALK_CB_NOP); | CALLBACK_INVOKE(fmc->script, IDWALK_CB_NOP); | ||||
| } | } | ||||
| } | } | ||||
| for (FreestyleLineSet *fls = scene_layer->freestyle_config.linesets.first; fls; fls = fls->next) { | for (FreestyleLineSet *fls = view_layer->freestyle_config.linesets.first; fls; fls = fls->next) { | ||||
| if (fls->group) { | if (fls->group) { | ||||
| CALLBACK_INVOKE(fls->group, IDWALK_CB_USER); | CALLBACK_INVOKE(fls->group, IDWALK_CB_USER); | ||||
| } | } | ||||
| if (fls->linestyle) { | if (fls->linestyle) { | ||||
| CALLBACK_INVOKE(fls->linestyle, IDWALK_CB_USER); | CALLBACK_INVOKE(fls->linestyle, IDWALK_CB_USER); | ||||
| } | } | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 932 Lines • Show Last 20 Lines | |||||