Blender Git Loki
Git Commits -> Revision 3d0a325
Revision 3d0a325 by Martin Felke (temp-fracture-modifier-2.8) November 30, 2018, 18:42 (GMT) |
try to avoid crashes due to excessive usage of immediate draw buffer since the buffersize is limited to 4 MB (but it effectively crashed above usage of 3 MB, probably due to 4 bit padding), there is a hard limit of usage ratio to be taken into account. The debug drawer counts the bytes used and increases an epsilon value as softlimit first. This filters out short lines / very close verts and reduces the buffer usage. If that is not enough, there is a hard limit at 95% buffer usage. Then line drawing is skipped. |
Commit Details:
Full Hash: 3d0a325148b006a93e6b5fde9c41ae6fc7988926
Parent Commit: 7723dc5
Lines Changed: +38, -0
1 Modified Path:
/intern/rigidbody/rb_bullet_api.cpp (+38, -0) (Diff)