[Bf-blender-cvs] [892eb41] gooseberry: Removed parent path drawing code for hulls, this is never used anyway.
Lukas Tönne
noreply at git.blender.org
Fri Jan 23 16:13:42 CET 2015
Commit: 892eb413f5cd22c7f3477229279b643bd6c3f78d
Author: Lukas Tönne
Date: Fri Jan 23 09:47:28 2015 +0100
Branches: gooseberry
https://developer.blender.org/rB892eb413f5cd22c7f3477229279b643bd6c3f78d
Removed parent path drawing code for hulls, this is never used anyway.
===================================================================
M source/blender/editors/space_view3d/drawobject.c
===================================================================
diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c
index ea297c6..7df1b85 100644
--- a/source/blender/editors/space_view3d/drawobject.c
+++ b/source/blender/editors/space_view3d/drawobject.c
@@ -4552,20 +4552,6 @@ static void draw_particle_hair_hull(Scene *UNUSED(scene), View3D *v3d, RegionVie
glColorMaterial(GL_FRONT_AND_BACK, GL_DIFFUSE);
glShadeModel(GL_SMOOTH);
-#if 0
- /* draw actual/parent particles */
- cache = psys->pathcache;
- for (p = 0, pa = psys->particles; p < totpart; ++p, ++pa) {
- path = cache[p];
- if (path->segments > 0) {
- glVertexPointer(3, GL_FLOAT, sizeof(ParticleCacheKey), path->co);
- glNormalPointer(GL_FLOAT, sizeof(ParticleCacheKey), path->vel);
-
- glDrawArrays(GL_LINE_STRIP, 0, path->segments + 1);
- }
- }
-#endif
-
/* draw child particles */
{
int pstart = 0;
More information about the Bf-blender-cvs
mailing list