Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2018-03-08 07:14:46 +0300
committerJoshua Leung <aligorith@gmail.com>2018-03-08 07:15:34 +0300
commit5331581ea4cd382ce0c133a99bf50c0aea257aac (patch)
tree20e164418b2387087a140eb2daeb9b13101d43c6 /source/blender/editors/space_nla/nla_channels.c
parent7e2100e49914e5d32973b3d28134340e0404f1bf (diff)
Cleanup: Use BKE_ prefix for all public functions exposed by the NLA module
Diffstat (limited to 'source/blender/editors/space_nla/nla_channels.c')
-rw-r--r--source/blender/editors/space_nla/nla_channels.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_nla/nla_channels.c b/source/blender/editors/space_nla/nla_channels.c
index c261821db16..27f275c15dd 100644
--- a/source/blender/editors/space_nla/nla_channels.c
+++ b/source/blender/editors/space_nla/nla_channels.c
@@ -596,12 +596,12 @@ bool nlaedit_add_tracks_existing(bAnimContext *ac, bool above_sel)
*/
if (above_sel) {
/* just add a new one above this one */
- add_nlatrack(adt, nlt);
+ BKE_nlatrack_add(adt, nlt);
added = true;
}
else if ((lastAdt == NULL) || (adt != lastAdt)) {
/* add one track to the top of the owning AnimData's stack, then don't add anymore to this stack */
- add_nlatrack(adt, NULL);
+ BKE_nlatrack_add(adt, NULL);
lastAdt = adt;
added = true;
}
@@ -636,7 +636,7 @@ bool nlaedit_add_tracks_empty(bAnimContext *ac)
/* ensure it is empty */
if (BLI_listbase_is_empty(&adt->nla_tracks)) {
/* add new track to this AnimData block then */
- add_nlatrack(adt, NULL);
+ BKE_nlatrack_add(adt, NULL);
added = true;
}
}
@@ -731,7 +731,7 @@ static int nlaedit_delete_tracks_exec(bContext *C, wmOperator *UNUSED(op))
adt->flag &= ~ADT_NLA_SOLO_TRACK;
/* call delete on this track - deletes all strips too */
- free_nlatrack(&adt->nla_tracks, nlt);
+ BKE_nlatrack_free(&adt->nla_tracks, nlt);
}
}