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:
authorMaxime Curioni <maxime.curioni@gmail.com>2008-07-23 10:02:18 +0400
committerMaxime Curioni <maxime.curioni@gmail.com>2008-07-23 10:02:18 +0400
commit0c494442d34d05ea8e0d94daefcca5902a2d6149 (patch)
tree8c979ad3a92731656070387594123e1ef4d7082a /source/blender/src/usiblender.c
parent0c3f7c2b7e0c9d8ad5945029170fc8ed1f0c1eda (diff)
parent1ffdc6679171c40ac1b2e5852ceaaa1495fbcd17 (diff)
soc-2008-mxcurioni: merged changes to revision 15705
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 4aea0df74b9..92e49ab29fa 100644
--- a/source/blender/src/usiblender.c
+++ b/source/blender/src/usiblender.c
@@ -883,7 +883,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;
}