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>2015-02-12 16:11:17 +0300
committerJoshua Leung <aligorith@gmail.com>2015-02-12 16:48:48 +0300
commit5c02afb698d2fea08d5b7b02cc331ba3db867354 (patch)
treef74a1731ed7e1fe6803780bcec9ea8f1138d68ee /source/blender/blenkernel/intern/ipo.c
parent7221fbe9ddd4ae446057866079df750368f14681 (diff)
Bugfix: Old NLA Strips from 2.4x got converted with no names (since they didn't use to have any)
Diffstat (limited to 'source/blender/blenkernel/intern/ipo.c')
-rw-r--r--source/blender/blenkernel/intern/ipo.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/ipo.c b/source/blender/blenkernel/intern/ipo.c
index c748568b4c5..09ce9484a69 100644
--- a/source/blender/blenkernel/intern/ipo.c
+++ b/source/blender/blenkernel/intern/ipo.c
@@ -1651,6 +1651,9 @@ static void nlastrips_to_animdata(ID *id, ListBase *strips)
nlt = add_nlatrack(adt, NULL);
BKE_nlatrack_add_strip(nlt, strip);
}
+
+ /* ensure that strip has a name */
+ BKE_nlastrip_validate_name(adt, strip);
}
/* modifiers */