[Bf-blender-cvs] [ee58b97b44f] greasepencil-object: GP: Small cleanup
Antonioya
noreply at git.blender.org
Mon Nov 19 16:55:33 CET 2018
Commit: ee58b97b44f2265fe658996ccebb7beebd771c1e
Author: Antonioya
Date: Mon Nov 19 16:55:22 2018 +0100
Branches: greasepencil-object
https://developer.blender.org/rBee58b97b44f2265fe658996ccebb7beebd771c1e
GP: Small cleanup
===================================================================
M source/blender/draw/engines/gpencil/gpencil_draw_utils.c
===================================================================
diff --git a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
index 5b9a5dc388d..98a2501d13b 100644
--- a/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
+++ b/source/blender/draw/engines/gpencil/gpencil_draw_utils.c
@@ -84,7 +84,7 @@ void gpencil_calc_vertex(tGPencilObjectCache *cache_ob, GpencilBatchCache *cache
}
}
- cache->b_fill.tot_vertex = (cache_ob->tot_triangles * 3);
+ cache->b_fill.tot_vertex = cache_ob->tot_triangles * 3;
cache->b_stroke.tot_vertex = cache_ob->tot_vertex;
cache->b_point.tot_vertex = cache_ob->tot_vertex;
More information about the Bf-blender-cvs
mailing list