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>2005-12-06 15:14:53 +0300
committerTon Roosendaal <ton@blender.org>2005-12-06 15:14:53 +0300
commit2f716483a9af9a9972f08f2c89f2e468afa601bc (patch)
tree52e6a1278b09fc356dd82a4e5db64bb20cef2467 /source/blender/blenloader/intern
parent952a2709adb1dab6b3b40374e84fe127af6f21d4 (diff)
Orange: fix for reading material light groups (didnt set pointer OK yet)
(Thanks Lee for finding it!)
Diffstat (limited to 'source/blender/blenloader/intern')
-rw-r--r--source/blender/blenloader/intern/readfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index bd9709edb5e..75e04ec0c53 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -1985,6 +1985,7 @@ static void lib_link_material(FileData *fd, Main *main)
if(ma->id.flag & LIB_NEEDLINK) {
ma->ipo= newlibadr_us(fd, ma->id.lib, ma->ipo);
+ ma->group= newlibadr_us(fd, ma->id.lib, ma->group);
for(a=0; a<MAX_MTEX; a++) {
mtex= ma->mtex[a];