Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/paint_hide.c
| Show First 20 Lines • Show All 333 Lines • ▼ Show 20 Lines | static void get_pbvh_nodes( | ||||
| BKE_pbvh_search_gather(pbvh, cb, clip_planes, nodes, totnode); | BKE_pbvh_search_gather(pbvh, cb, clip_planes, nodes, totnode); | ||||
| } | } | ||||
| static int hide_show_exec(bContext *C, wmOperator *op) | static int hide_show_exec(bContext *C, wmOperator *op) | ||||
| { | { | ||||
| ARegion *ar = CTX_wm_region(C); | ARegion *ar = CTX_wm_region(C); | ||||
| Object *ob = CTX_data_active_object(C); | Object *ob = CTX_data_active_object(C); | ||||
| Depsgraph *depsgraph = CTX_data_depsgraph(C); | Depsgraph *depsgraph = CTX_data_ensure_evaluated_depsgraph(C); | ||||
| Mesh *me = ob->data; | Mesh *me = ob->data; | ||||
| PartialVisAction action; | PartialVisAction action; | ||||
| PartialVisArea area; | PartialVisArea area; | ||||
| PBVH *pbvh; | PBVH *pbvh; | ||||
| PBVHNode **nodes; | PBVHNode **nodes; | ||||
| PBVHType pbvh_type; | PBVHType pbvh_type; | ||||
| float clip_planes[4][4]; | float clip_planes[4][4]; | ||||
| rcti rect; | rcti rect; | ||||
| ▲ Show 20 Lines • Show All 115 Lines • Show Last 20 Lines | |||||