Anim: made object param of BKE_animdata_id_is_animated() const
No functional changes.
This commit is contained in:
@@ -61,7 +61,7 @@ bool BKE_animdata_set_action(struct ReportList *reports, struct ID *id, struct b
|
||||
void BKE_animdata_free(struct ID *id, const bool do_id_user);
|
||||
|
||||
/* Return true if the ID-block has non-empty AnimData. */
|
||||
bool BKE_animdata_id_is_animated(struct ID *id);
|
||||
bool BKE_animdata_id_is_animated(const struct ID *id);
|
||||
|
||||
/* Copy AnimData */
|
||||
struct AnimData *BKE_animdata_copy(struct Main *bmain, struct AnimData *adt, const int flag);
|
||||
|
||||
@@ -283,7 +283,7 @@ void BKE_animdata_free(ID *id, const bool do_id_user)
|
||||
}
|
||||
}
|
||||
|
||||
bool BKE_animdata_id_is_animated(struct ID *id)
|
||||
bool BKE_animdata_id_is_animated(const struct ID *id)
|
||||
{
|
||||
if (id == NULL) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user