[Bf-blender-cvs] [613faa09878] blender2.8: Draw: Don't take cache existence into account for draw type

Sergey Sharybin noreply at git.blender.org
Thu Jun 7 11:35:29 CEST 2018


Commit: 613faa0987817c82156d1ce2a65516392173b600
Author: Sergey Sharybin
Date:   Thu Jun 7 10:15:10 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB613faa0987817c82156d1ce2a65516392173b600

Draw: Don't take cache existence into account for draw type

===================================================================

M	source/blender/draw/modes/object_mode.c

===================================================================

diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c
index 37a4928cba4..ba44e5dea10 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -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);



More information about the Bf-blender-cvs mailing list