Blender Git Commit Log

Git Commits -> Revision e3544c9

Revision e3544c9 by Sergey Sharybin (master)
April 20, 2016, 13:49 (GMT)
Cycles: Throw bad_alloc exception when custom allocators failed to allocate memory

This mimics behavior of default allocators in STL and allows all the routines
to catch out-of-memory exceptions and hopefully recover from that situation/

Commit Details:

Full Hash: e3544c9e28eded2403613d2bc5af8992c3aa734a
Parent Commit: d7e4f92
Lines Changed: +26, -7

3 Modified Paths:

/intern/cycles/util/util_guarded_allocator.h (+11, -4) (Diff)
/intern/cycles/util/util_stack_allocator.h (+9, -3) (Diff)
/intern/cycles/util/util_vector.h (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021