Enable guarded-alloc when --debug-all is passed
This commit is contained in:
parent
b3e1edf7f8
commit
f6e0262a83
Notes:
blender-bot
2023-02-14 09:21:21 +01:00
Referenced by issue #46012, Subdivision Modifier Referenced by issue #45992, Subsurface modifier is broken
|
@ -1681,7 +1681,7 @@ int main(
|
|||
int i;
|
||||
for (i = 0; i < argc; i++) {
|
||||
if (STREQ(argv[i], "--debug") || STREQ(argv[i], "-d") ||
|
||||
STREQ(argv[i], "--debug-memory"))
|
||||
STREQ(argv[i], "--debug-memory") || STREQ(argv[i], "--debug-all"))
|
||||
{
|
||||
printf("Switching to fully guarded memory allocator.\n");
|
||||
MEM_use_guarded_allocator();
|
||||
|
|
Loading…
Reference in New Issue