[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [27651] trunk/blender/source/blender/ editors/space_view3d/drawobject.c: when curves draw as derived meshes, check their face count rather then if the display list has faces.
Campbell Barton
ideasman42 at gmail.com
Sun Mar 21 23:54:30 CET 2010
Revision: 27651
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=27651
Author: campbellbarton
Date: 2010-03-21 23:54:30 +0100 (Sun, 21 Mar 2010)
Log Message:
-----------
when curves draw as derived meshes, check their face count rather then if the display list has faces.
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_view3d/drawobject.c
Modified: trunk/blender/source/blender/editors/space_view3d/drawobject.c
===================================================================
--- trunk/blender/source/blender/editors/space_view3d/drawobject.c 2010-03-21 22:52:56 UTC (rev 27650)
+++ trunk/blender/source/blender/editors/space_view3d/drawobject.c 2010-03-21 22:54:30 UTC (rev 27651)
@@ -2984,7 +2984,7 @@
return 1;
}
- if(dt>OB_WIRE && displist_has_faces(&cu->disp)!=0) {
+ if(dt>OB_WIRE && dm->getNumFaces(dm)) {
int glsl = draw_glsl_material(scene, ob, v3d, dt);
GPU_begin_object_materials(v3d, rv3d, scene, ob, glsl, NULL);
More information about the Bf-blender-cvs
mailing list