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:
Diffstat (limited to 'source/blender/src/header_info.c')
-rw-r--r--source/blender/src/header_info.c13
1 files changed, 10 insertions, 3 deletions
diff --git a/source/blender/src/header_info.c b/source/blender/src/header_info.c
index ac55a630a71..d2c41417f88 100644
--- a/source/blender/src/header_info.c
+++ b/source/blender/src/header_info.c
@@ -306,10 +306,9 @@ Scene *copy_scene(Scene *sce, int level)
id_us_plus((ID *)scen->world);
id_us_plus((ID *)scen->set);
- scen->ed= 0;
- scen->radio= 0;
+ scen->ed= NULL;
+ scen->radio= NULL;
scen->theDag= NULL;
- scen->dagisvalid= 0;
obase= sce->base.first;
base= scen->base.first;
@@ -1787,11 +1786,19 @@ static void info_text(int x, int y)
sprintf(infostr,"Fa:%d-%d | Mem:%.2fM ",
G.totfacesel, G.totface, (mem_in_use>>10)/1024.0);
}
+ else if(G.obedit->type==OB_ARMATURE) {
+ sprintf(infostr,"Ve:%d-%d | Bo:%d-%d | Mem:%.2fM ",
+ G.totvertsel, G.totvert, G.totbonesel, G.totbone, (mem_in_use>>10)/1024.0);
+ }
else {
sprintf(infostr,"Ve:%d-%d | Mem:%.2fM ",
G.totvertsel, G.totvert, (mem_in_use>>10)/1024.0);
}
}
+ else if(G.obpose) {
+ sprintf(infostr,"Bo:%d-%d | Mem:%.2fM ",
+ G.totbonesel, G.totbone, (mem_in_use>>10)/1024.0);
+ }
else {
sprintf(infostr,"Ve:%d | Fa:%d | Ob:%d-%d | La:%d | Mem:%.2fM | Time:%s | ",
G.totvert, G.totface, G.totobj, G.totobjsel, G.totlamp, (mem_in_use>>10)/1024.0, info_time_str);