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:
authorIan Thompson <quornian@googlemail.com>2008-07-26 14:45:11 +0400
committerIan Thompson <quornian@googlemail.com>2008-07-26 14:45:11 +0400
commit4a8aa06a1477f044dd41518d4a8ac633f32f653c (patch)
treea77bd165669a12720e8f096b7b6868e4c96dfb78 /source/blender/src/usiblender.c
parent4c6e0d49c8defaf5bb3efa56e9843965cfed7f92 (diff)
Merge from trunk
revs. 15635:15771
Diffstat (limited to 'source/blender/src/usiblender.c')
-rw-r--r--source/blender/src/usiblender.c2
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;
}