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:
authorCampbell Barton <ideasman42@gmail.com>2012-09-03 06:41:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-03 06:41:12 +0400
commit56534ecdcbd08a32bfa7f2415c25237d44c69a5d (patch)
tree1bc64143a52a1669a5450b85488e45fd247f1217 /source/blender/editors/space_view3d
parent721c37072e235b035d4de94e783f9562b634af39 (diff)
style cleanup: also add debugging print function for derived mesh DM_debug_print_cdlayers()
Diffstat (limited to 'source/blender/editors/space_view3d')
-rw-r--r--source/blender/editors/space_view3d/drawobject.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index 26fe908f034..9ebd2351142 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -3761,12 +3761,14 @@ static int drawDispListwire(ListBase *dlbase)
}
glEnd();
-/* (ton) this code crashes for me when resolv is 86 or higher... no clue */
-// glVertexPointer(3, GL_FLOAT, sizeof(float)*3*dl->nr, data + 3*nr);
-// if (dl->flag & DL_CYCL_V)
-// glDrawArrays(GL_LINE_LOOP, 0, dl->parts);
-// else
-// glDrawArrays(GL_LINE_STRIP, 0, dl->parts);
+#if 0
+ /* (ton) this code crashes for me when resolv is 86 or higher... no clue */
+ glVertexPointer(3, GL_FLOAT, sizeof(float) * 3 * dl->nr, data + 3*nr);
+ if (dl->flag & DL_CYCL_V)
+ glDrawArrays(GL_LINE_LOOP, 0, dl->parts);
+ else
+ glDrawArrays(GL_LINE_STRIP, 0, dl->parts);
+#endif
}
break;