Blender Git Loki

Git Commits -> Revision e60b18d

Revision e60b18d by Antonis Ryakiotakis (master)
April 1, 2014, 22:41 (GMT)
Dyntopo: Delete OpenGL buffers of nodes that do not have any more
triangles.

It is possible to end up with such nodes using brushes in aggressive
collapse mode. Those nodes should normally be cleaned up, since they can
never be actually reused (adding more geometry to a node requires the
node having some geometry to begin with) but until we support dynamic
nodes, better delete those to avoid binding graphics driver resources.

If such zero elements buffers were used, GL error out of memory would be
reported.

Commit Details:

Full Hash: e60b18d51d58e327031961970405453becca1653
Parent Commit: 0a112ef
Lines Changed: +13, -0

1 Modified Path:

/source/blender/gpu/intern/gpu_buffers.c (+13, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021