Cleanup: add CTX_data_pointer_set_ptr & CTX_data_list_add_ptr

Many callers expanded a PointerRNA argument,
so add a version of these functions that takes a PointerRNA.
This commit is contained in:
2021-08-31 12:45:45 +10:00
parent ea575744b8
commit c758b87c5e
6 changed files with 24 additions and 10 deletions

View File

@@ -678,7 +678,6 @@ void ANIM_draw_framerange(struct Scene *scene, struct View2D *v2d);
/* ------------- UI Panel Drawing -------------- */
bool ANIM_nla_context_track_ptr(const struct bContext *C, struct PointerRNA *r_ptr);
bool ANIM_nla_context_strip_ptr(const struct bContext *C, struct PointerRNA *r_ptr);