diff options
author | Ian Thompson <quornian@googlemail.com> | 2008-07-26 14:45:11 +0400 |
---|---|---|
committer | Ian Thompson <quornian@googlemail.com> | 2008-07-26 14:45:11 +0400 |
commit | 4a8aa06a1477f044dd41518d4a8ac633f32f653c (patch) | |
tree | a77bd165669a12720e8f096b7b6868e4c96dfb78 /source/blender/src/usiblender.c | |
parent | 4c6e0d49c8defaf5bb3efa56e9843965cfed7f92 (diff) |
Merge from trunk
revs. 15635:15771
Diffstat (limited to 'source/blender/src/usiblender.c')
-rw-r--r-- | source/blender/src/usiblender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/usiblender.c b/source/blender/src/usiblender.c index 4e5a7dc92c7..36d98245827 100644 --- a/source/blender/src/usiblender.c +++ b/source/blender/src/usiblender.c @@ -885,7 +885,7 @@ void BIF_write_file(char *target) if (G.f & G_DOSCRIPTLINKS) BPY_do_pyscript(&G.scene->id, SCRIPT_ONSAVE); for (li= G.main->library.first; li; li= li->id.next) { - if (BLI_streq(li->name, target)) { + if (li->parent==NULL && BLI_streq(li->name, target)) { error("Cannot overwrite used library"); return; } |