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
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2005-10-04 19:30:51 +0400
committerTon Roosendaal <ton@blender.org>2005-10-04 19:30:51 +0400
commit0e22b501db7bf1f622a98eaede4aecfd668c2677 (patch)
treea217804d92de35f00218143b2a3fcc1ae4f20dba /source
parentac668ea561bfc70e37079d9f0bf19c60803daa64 (diff)
Duplicate Objects updated links in drivers wrong (the new object became a
driver). Now drivers are only corrected on duplicating when the whole Ipo got copied a well.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/editobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c
index ea748e63713..f5521bbf8ee 100644
--- a/source/blender/src/editobject.c
+++ b/source/blender/src/editobject.c
@@ -4341,7 +4341,7 @@ void adduplicate(int noTrans)
/* ipos */
ipo= G.main->ipo.first;
while(ipo) {
- if(ipo->id.lib==NULL) {
+ if(ipo->id.lib==NULL && ipo->id.newid) {
IpoCurve *icu;
for(icu= ipo->curve.first; icu; icu= icu->next) {
if(icu->driver) {