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:
authorTon Roosendaal <ton@blender.org>2004-10-19 02:39:14 +0400
committerTon Roosendaal <ton@blender.org>2004-10-19 02:39:14 +0400
commit1a591506c6fbe4040e6ff0d29aaf49525dd65b3f (patch)
treeb39e66138a2a6286c1db3afa62f87f87a4380844 /source/blender/blenloader
parenta92b7277dc2d9560b95fa3d0327de5fc17cb0e36 (diff)
When you save a file while using radio tool, it didn't load correctly
because of a flag set which prevented drawing the objects.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index fd41e39ced1..6f46454d169 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -2382,9 +2382,11 @@ static void lib_link_scene(FileData *fd, Main *main)
next= base->next;
/* base->object= newlibadr_us(fd, sce->id.lib, base->object); */
-
base->object= newlibadr_us_type(fd, ID_OB, base->object);
-
+
+ /* when save during radiotool, needs cleared */
+ base->flag &= ~OB_RADIO;
+
if(base->object==0) {
printf("LIB ERROR: base removed\n");
BLI_remlink(&sce->base, base);