Draw: Don't take cache existence into account for draw type
authorSergey Sharybin <sergey.vfx@gmail.com>
Thu, 7 Jun 2018 08:15:10 +0000 (10:15 +0200)
committerSergey Sharybin <sergey.vfx@gmail.com>
Thu, 7 Jun 2018 09:31:56 +0000 (11:31 +0200)
source/blender/draw/modes/object_mode.c

index 37a4928cba47958cb47564cf786d9acdaf0979d3..ba44e5dea107733fa85f1b36d669ab809b430448 100644 (file)
@@ -1998,10 +1998,6 @@ static void OBJECT_cache_populate_particles(Object *ob,
                ParticleSettings *part = psys->part;
                int draw_as = (part->draw_as == PART_DRAW_REND) ? part->ren_as : part->draw_as;
 
-               if (draw_as == PART_DRAW_PATH && !psys->pathcache && !psys->childcache) {
-                       draw_as = PART_DRAW_DOT;
-               }
-
                static float mat[4][4];
                unit_m4(mat);