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)
This commit is contained in:
2005-08-08 09:36:07 +00:00
parent fc8b4b14f5
commit b228c90e24
2 changed files with 6 additions and 1 deletions

View File

@@ -56,6 +56,8 @@
#include "BSE_view.h"
#include "radio.h"
#include "blendef.h" /* old */
#include "mydevice.h"
@@ -127,7 +129,8 @@ void set_scene(Scene *sce) /* also see scene.c: set_scene_bg() */
}
set_scene_bg(G.scene);
set_radglobal();
/* complete redraw */
allqueue(REDRAWALL, 0);
allqueue(REDRAWDATASELECT, 0); /* does a remake */