Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_anim_api.h
| Show First 20 Lines • Show All 828 Lines • ▼ Show 20 Lines | void ED_animedit_unlink_action(struct bContext *C, | ||||
| struct ReportList *reports, | struct ReportList *reports, | ||||
| bool force_delete); | bool force_delete); | ||||
| /* Drivers Editor - Utility to set up UI correctly */ | /* Drivers Editor - Utility to set up UI correctly */ | ||||
| void ED_drivers_editor_init(struct bContext *C, struct ScrArea *sa); | void ED_drivers_editor_init(struct bContext *C, struct ScrArea *sa); | ||||
| /* ************************************************ */ | /* ************************************************ */ | ||||
| typedef enum eAnimvizCalcRange { | |||||
| /* Update motion paths at the current frame only. */ | |||||
| ANIMVIZ_CALC_RANGE_CURRENT_FRAME, | |||||
| /* Try to limit updates to a close neighborhood of the current frame. */ | |||||
| ANIMVIZ_CALC_RANGE_CHANGED, | |||||
| /* Update an entire range of the motion paths. */ | |||||
| ANIMVIZ_CALC_RANGE_FULL, | |||||
| } eAnimvizCalcRange; | |||||
| struct Depsgraph *animviz_depsgraph_build(struct Main *bmain, | |||||
| struct Scene *scene, | |||||
| struct ViewLayer *view_layer, | |||||
| struct ListBase *targets); | |||||
| void animviz_calc_motionpaths(struct Depsgraph *depsgraph, | void animviz_calc_motionpaths(struct Depsgraph *depsgraph, | ||||
| struct Main *bmain, | struct Main *bmain, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| ListBase *targets, | ListBase *targets, | ||||
| bool restore, | eAnimvizCalcRange range, | ||||
| bool current_frame_only); | bool restore); | ||||
| void animviz_get_object_motionpaths(struct Object *ob, ListBase *targets); | void animviz_get_object_motionpaths(struct Object *ob, ListBase *targets); | ||||
| #endif /* __ED_ANIM_API_H__ */ | #endif /* __ED_ANIM_API_H__ */ | ||||