From 237cd7a7a747334109a742c89dd0a78d4bb35d47 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Thu, 15 Jan 2009 15:01:39 +0000 Subject: 2.5 - Depricated another bunch of globals; all the totobj, totmesh, totvert, and so on. - All code that needs such totals now count it themselves, these stats were not supposed to be reliable - Editmesh now stores and manages own totals. - Todo: make a scene->stats that tracks notifiers. Bugfix: selecting failed in editmesh, backbuffer stuff was too late, already using index ranges before it was set. --- source/blender/blenlib/BLI_editVert.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenlib/BLI_editVert.h') diff --git a/source/blender/blenlib/BLI_editVert.h b/source/blender/blenlib/BLI_editVert.h index f0f54bae8ea..758e3d136aa 100644 --- a/source/blender/blenlib/BLI_editVert.h +++ b/source/blender/blenlib/BLI_editVert.h @@ -170,6 +170,8 @@ typedef struct EditMesh short selectmode; /* copy from object actcol */ short mat_nr; + /* stats */ + int totvert, totedge, totface, totvertsel, totedgesel, totfacesel; struct DerivedMesh *derivedCage, *derivedFinal; /* the custom data layer mask that was last used to calculate -- cgit v1.2.3