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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-05-12 02:48:41 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2012-05-12 02:48:41 +0400
commit8925ed1420ea2557abc7867cf12f89730ef77718 (patch)
tree67a95fd12253de438e1bdb30bf6c90af2ff12d7f /source/blender/blenkernel/intern/anim_sys.c
parentbf2fac79d407a1d8c0e5727cc644d98eef60a965 (diff)
parent1c0c2f4d0bd6556a3dd7293ddbd419a066e745f4 (diff)
Merged changes in the trunk up to revision 46557.
Conflicts resolved: source/blender/blenkernel/intern/material.c source/blender/blenkernel/intern/subsurf_ccg.c source/blender/blenloader/intern/readfile.c source/blender/editors/animation/anim_channels_defines.c source/blender/makesrna/intern/rna_scene.c Additional changes: * Fix for recent changes of BKE_* function renaming. * Fix for an "attempt to free NULL pointer" in BlenderStrokeRenderer::RenderStrokeRepBasic().
Diffstat (limited to 'source/blender/blenkernel/intern/anim_sys.c')
-rw-r--r--source/blender/blenkernel/intern/anim_sys.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/source/blender/blenkernel/intern/anim_sys.c b/source/blender/blenkernel/intern/anim_sys.c
index 73f1ce1526a..8982017403d 100644
--- a/source/blender/blenkernel/intern/anim_sys.c
+++ b/source/blender/blenkernel/intern/anim_sys.c
@@ -254,8 +254,8 @@ AnimData *BKE_copy_animdata (AnimData *adt, const short do_action)
/* make a copy of action - at worst, user has to delete copies... */
if (do_action) {
- dadt->action= copy_action(adt->action);
- dadt->tmpact= copy_action(adt->tmpact);
+ dadt->action= BKE_action_copy(adt->action);
+ dadt->tmpact= BKE_action_copy(adt->tmpact);
}
else {
id_us_plus((ID *)dadt->action);
@@ -299,11 +299,11 @@ void BKE_copy_animdata_id_action(ID *id)
if (adt) {
if (adt->action) {
id_us_min((ID *)adt->action);
- adt->action= copy_action(adt->action);
+ adt->action= BKE_action_copy(adt->action);
}
if (adt->tmpact) {
id_us_min((ID *)adt->tmpact);
- adt->tmpact= copy_action(adt->tmpact);
+ adt->tmpact= BKE_action_copy(adt->tmpact);
}
}
}
@@ -315,8 +315,8 @@ static void make_local_strips(ListBase *strips)
NlaStrip *strip;
for (strip=strips->first; strip; strip=strip->next) {
- if (strip->act) make_local_action(strip->act);
- if (strip->remap && strip->remap->target) make_local_action(strip->remap->target);
+ if (strip->act) BKE_action_make_local(strip->act);
+ if (strip->remap && strip->remap->target) BKE_action_make_local(strip->remap->target);
make_local_strips(&strip->strips);
}
@@ -328,10 +328,10 @@ void BKE_animdata_make_local(AnimData *adt)
NlaTrack *nlt;
/* Actions - Active and Temp */
- if (adt->action) make_local_action(adt->action);
- if (adt->tmpact) make_local_action(adt->tmpact);
+ if (adt->action) BKE_action_make_local(adt->action);
+ if (adt->tmpact) BKE_action_make_local(adt->tmpact);
/* Remaps */
- if (adt->remap && adt->remap->target) make_local_action(adt->remap->target);
+ if (adt->remap && adt->remap->target) BKE_action_make_local(adt->remap->target);
/* Drivers */
// TODO: need to remap the ID-targets too?
@@ -426,7 +426,7 @@ void action_move_fcurves_by_basepath(bAction *srcAct, bAction *dstAct, const cha
/* if grouped... */
if (fcu->grp) {
/* make sure there will be a matching group on the other side for the migrants */
- agrp = action_groups_find_named(dstAct, fcu->grp->name);
+ agrp = BKE_action_group_find_name(dstAct, fcu->grp->name);
if (agrp == NULL) {
/* add a new one with a similar name (usually will be the same though) */