Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/sculpt_paint/sculpt.c
| Context not available. | |||||
| static void SCULPT_OT_optimize(wmOperatorType *ot) | static void SCULPT_OT_optimize(wmOperatorType *ot) | ||||
| { | { | ||||
| /* identifiers */ | /* identifiers */ | ||||
| ot->name = "Optimize"; | ot->name = "Rebuild BVH"; | ||||
| ot->idname = "SCULPT_OT_optimize"; | ot->idname = "SCULPT_OT_optimize"; | ||||
| ot->description = "Recalculate the sculpt BVH to improve performance"; | ot->description = "Recalculate the sculpt BVH to improve performance"; | ||||
| /* api callbacks */ | /* api callbacks */ | ||||
| ot->exec = sculpt_optimize_exec; | ot->exec = sculpt_optimize_exec; | ||||
| ot->poll = sculpt_and_dynamic_topology_poll; | ot->poll = sculpt_mode_poll; | ||||
| ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO; | ||||
| } | } | ||||
| Context not available. | |||||