Blender Git Loki
Git Commits -> Revision bbe11e3
July 8, 2016, 14:22 (GMT) |
Unified buffer creation for drawing strands in object and edit mode. Control strands are now drawn without subdivision. Control and fiber strands get their own vertex buffers for this purpose. The intermediate StrandData has been removed, because it is just redundant storage of the draw data buffers. The results in StrandData are not used for further editing, so there is really no point in keeping them around. |
Commit Details:
Full Hash: bbe11e39492db63d87305bcfbe157f7efda73179
Parent Commit: fa1abf5
Lines Changed: +508, -526
18 Modified Paths:
/source/blender/blenkernel/BKE_editstrands.h (+1, -5) (Diff)
/source/blender/blenkernel/BKE_strands.h (+23, -53) (Diff)
/source/blender/blenkernel/intern/editstrands.c (+2, -15) (Diff)
/source/blender/blenkernel/intern/strands.c (+109, -81) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -2) (Diff)
/source/blender/blenloader/intern/writefile.c (+3, -3) (Diff)
/source/blender/editors/hair/hair_object_strands.c (+7, -9) (Diff)
/source/blender/editors/hair/hair_undo.c (+2, -2) (Diff)
/source/blender/editors/object/object_strands.c (+2, -5) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+3, -12) (Diff)
/source/blender/editors/space_view3d/drawstrands.c (+60, -36) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+4, -9) (Diff)
/source/blender/gpu/GPU_buffers.h (+20, -12) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+241, -248) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+3, -2) (Diff)
/source/blender/makesdna/DNA_strand_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+9, -7) (Diff)
/source/blender/modifiers/intern/MOD_strands.c (+12, -24) (Diff)
/source/blender/blenkernel/BKE_strands.h (+23, -53) (Diff)
/source/blender/blenkernel/intern/editstrands.c (+2, -15) (Diff)
/source/blender/blenkernel/intern/strands.c (+109, -81) (Diff)
/source/blender/blenloader/intern/readfile.c (+2, -2) (Diff)
/source/blender/blenloader/intern/writefile.c (+3, -3) (Diff)
/source/blender/editors/hair/hair_object_strands.c (+7, -9) (Diff)
/source/blender/editors/hair/hair_undo.c (+2, -2) (Diff)
/source/blender/editors/object/object_strands.c (+2, -5) (Diff)
/source/blender/editors/space_view3d/drawobject.c (+3, -12) (Diff)
/source/blender/editors/space_view3d/drawstrands.c (+60, -36) (Diff)
/source/blender/editors/space_view3d/view3d_intern.h (+4, -9) (Diff)
/source/blender/gpu/GPU_buffers.h (+20, -12) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+241, -248) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+3, -2) (Diff)
/source/blender/makesdna/DNA_strand_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_modifier.c (+9, -7) (Diff)
/source/blender/modifiers/intern/MOD_strands.c (+12, -24) (Diff)