From d86af04e9afc4c7f6946c0fce7129cd6acd4dbf5 Mon Sep 17 00:00:00 2001 From: Geoffrey Bantle Date: Wed, 27 Sep 2006 23:39:19 +0000 Subject: -> 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. --- source/blender/src/header_info.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source') 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; -- cgit v1.2.3