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-08-08 13:36:07 +0400
committerTon Roosendaal <ton@blender.org>2005-08-08 13:36:07 +0400
commitb228c90e24d58ef7caaf928c80fa2d284c0e4cf3 (patch)
tree51190390edf87b9a51691640fc9878b6a7b1c2e0 /source/blender/src/header_info.c
parentfc8b4b14f5f9d0f84b53125fe58f68353161b965 (diff)
Two radiosity glitches, bugs #2872 #2881
- add new scene, "Full Copy", didn't copy radio settings - switch scene didn't reset radiosity baking (note that you can only do 1 radiosity scene in Blender, switch scene will free the radiosity data)
Diffstat (limited to 'source/blender/src/header_info.c')
-rw-r--r--source/blender/src/header_info.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c
index 943d622dedd..6d984f55e71 100644
--- a/source/blender/src/header_info.c
+++ b/source/blender/src/header_info.c
@@ -338,6 +338,8 @@ Scene *copy_scene(Scene *sce, int level)
single_obdata_users(0);
single_mat_users_expand();
single_tex_users_expand();
+
+ scen->radio= MEM_dupallocN(sce->radio);
}
clear_id_newpoins();