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:
authorDaniel Dunbar <daniel@zuster.org>2005-08-20 11:42:25 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-08-20 11:42:25 +0400
commit1ac10f50f483c2c365fa015c8c045c8f7344ad02 (patch)
tree3a5204be007b67dce7f3816217c7a090876c01bd /source/blender/src/drawobject.c
parenta30740c1964059e1e6d3ca652da324ff0d505a1a (diff)
- bug fix, apply modifier removed modifier even on certain
errors - change drawimagespace to check and update object data if it needs a recalc. this fixes errors with a recalc being flushed but not actually being done before spaceimage redraws. Updates typically actually happen in draw loop, which is not a great design... - make shared vertexcol didn't flush update
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r--source/blender/src/drawobject.c4
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)