diff options
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r-- | source/blender/src/drawobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index 8acaf622988..7e72f6f737f 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -3788,7 +3788,7 @@ static int bbs_mesh_verts(DerivedMesh *dm, int offset) bglEnd(); glPointSize(1.0); - return offset + G.totvert; // XXX is G variable reliable? + return offset + G.totvert; } static int bbs_mesh_wire__setDrawOptions(void *userData, int index) @@ -3807,7 +3807,7 @@ static int bbs_mesh_wire(DerivedMesh *dm, int offset) { dm->drawMappedEdges(dm, bbs_mesh_wire__setDrawOptions, (void*) offset); - return offset + G.totedge; // XXX is G variable reliable? + return offset + G.totedge; } static int bbs_mesh_solid__setSolidDrawOptions(void *userData, int index, int *drawSmooth_r) |