The global "total object" counter in Blender kernel was still using short!
Crash can happen when using this counter for allocating selection data.
This commit is contained in:
Ton Roosendaal
2007-01-30 10:49:56 +00:00
parent dcc834f3fa
commit d5e69a8349

View File

@@ -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;