diff options
author | Geoffrey Bantle <hairbat@yahoo.com> | 2006-09-28 03:39:19 +0400 |
---|---|---|
committer | Geoffrey Bantle <hairbat@yahoo.com> | 2006-09-28 03:39:19 +0400 |
commit | d86af04e9afc4c7f6946c0fce7129cd6acd4dbf5 (patch) | |
tree | c10272629828a472eb5673f7f9442b79930eef4c /source | |
parent | 9dce6081c0b46e3da1f78a0fd336bafd13ec2f04 (diff) |
-> Add/Delete Scene fix
countall() wasn't being called when scenes were being added/deleted.
This caused the info header to temporarily display incorrect information
about scene statistics.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/header_info.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c index bfbd9d1b265..98f07ca2393 100644 --- a/source/blender/src/header_info.c +++ b/source/blender/src/header_info.c @@ -107,6 +107,7 @@ #include "BSE_filesel.h" #include "BSE_headerbuttons.h" #include "BSE_sequence.h" +#include "BSE_edit.h" #include "IMB_imbuf_types.h" @@ -478,6 +479,7 @@ void do_info_buttons(unsigned short event) else sce= copy_scene(G.scene, nr-2); set_scene(sce); + countall(); } BIF_preview_changed(ID_TE); @@ -514,6 +516,7 @@ void do_info_buttons(unsigned short event) } free_libblock(&G.main->scene, G.scene); set_scene(sce); + countall(); } break; |