Changeset View
Changeset View
Standalone View
Standalone View
source/blender/draw/intern/draw_manager.c
| Show First 20 Lines • Show All 2,391 Lines • ▼ Show 20 Lines | else { | ||||
| else { | else { | ||||
| filter_exclude = (object_filter_fn(ob, object_filter_user_data) == false); | filter_exclude = (object_filter_fn(ob, object_filter_user_data) == false); | ||||
| } | } | ||||
| if (filter_exclude) { | if (filter_exclude) { | ||||
| continue; | continue; | ||||
| } | } | ||||
| } | } | ||||
| /* This relies on dupli instances being after their instancing object. */ | DRW_select_load_id(ob->runtime.select_id_cow); | ||||
| if ((ob->base_flag & BASE_FROM_DUPLI) == 0) { | |||||
| Object *ob_orig = DEG_get_original_object(ob); | |||||
| DRW_select_load_id(ob_orig->runtime.select_id); | |||||
| } | |||||
| DST.dupli_parent = data_.dupli_parent; | DST.dupli_parent = data_.dupli_parent; | ||||
| DST.dupli_source = data_.dupli_object_current; | DST.dupli_source = data_.dupli_object_current; | ||||
| drw_duplidata_load(DST.dupli_source); | drw_duplidata_load(DST.dupli_source); | ||||
| drw_engines_cache_populate(ob); | drw_engines_cache_populate(ob); | ||||
| } | } | ||||
| } | } | ||||
| DEG_OBJECT_ITER_FOR_RENDER_ENGINE_END; | DEG_OBJECT_ITER_FOR_RENDER_ENGINE_END; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 781 Lines • Show Last 20 Lines | |||||