diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-04-04 15:43:54 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-04-04 15:44:19 +0300 |
commit | af3f4f29e46afb96aff49be8d1ca42c5fdd7d08e (patch) | |
tree | bdf1a62374a5ad2f9b9b7da4ceeca4d2f10364f2 /source/blender/draw/intern/draw_hair_private.h | |
parent | 3ab3f893a9d372ea9259c9cfc44891110d52d8da (diff) |
DRW: Fix hair count being limited by recent refactor
This was making Autumn being half naked.
Issue was introduced by rBe72dc667c4d3
Diffstat (limited to 'source/blender/draw/intern/draw_hair_private.h')
-rw-r--r-- | source/blender/draw/intern/draw_hair_private.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/draw/intern/draw_hair_private.h b/source/blender/draw/intern/draw_hair_private.h index c77f236e066..8f7cb1fe949 100644 --- a/source/blender/draw/intern/draw_hair_private.h +++ b/source/blender/draw/intern/draw_hair_private.h @@ -54,9 +54,13 @@ typedef struct ParticleHairCache { GPUVertBuf *proc_point_buf; /* Input control points */ GPUTexture *point_tex; - GPUVertBuf *proc_strand_buf; /* Infos of control points strands (segment count and base index) */ + /** Infos of control points strands (segment count and base index) */ + GPUVertBuf *proc_strand_buf; GPUTexture *strand_tex; + GPUVertBuf *proc_strand_seg_buf; + GPUTexture *strand_seg_tex; + GPUVertBuf *proc_uv_buf[MAX_MTFACE]; GPUTexture *uv_tex[MAX_MTFACE]; char uv_layer_names[MAX_MTFACE][MAX_LAYER_NAME_CT][MAX_LAYER_NAME_LEN]; |