diff options
author | Ton Roosendaal <ton@blender.org> | 2007-01-30 13:49:56 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2007-01-30 13:49:56 +0300 |
commit | d5e69a8349af4cd9e4851aba5f5459b2eb2ac534 (patch) | |
tree | 50c86876b768a43a9e2e6a5abe30c4a14432286c /source/blender/blenkernel/BKE_global.h | |
parent | dcc834f3fa2a57a2030ae95fcdca3ff605a21481 (diff) |
Bugfix #5875
The global "total object" counter in Blender kernel was still using short!
Crash can happen when using this counter for allocating selection data.
Diffstat (limited to 'source/blender/blenkernel/BKE_global.h')
-rw-r--r-- | source/blender/blenkernel/BKE_global.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h index c3fa0359acb..98a0cb99942 100644 --- a/source/blender/blenkernel/BKE_global.h +++ b/source/blender/blenkernel/BKE_global.h @@ -94,8 +94,8 @@ typedef struct Global { struct ListBase recent_files; /* totals */ - short totobj, totlamp, totobjsel, totcurve, totmesh; - short totbone, totbonesel; + int totobj, totlamp, totobjsel, totcurve, totmesh; + int totbone, totbonesel; int totvert, totedge, totface, totvertsel, totedgesel, totfacesel; short afbreek, moving; |