[Bf-blender-cvs] [f6e0262] master: Enable guarded-alloc when --debug-all is passed

Campbell Barton noreply at git.blender.org
Wed Sep 2 05:47:27 CEST 2015


Commit: f6e0262a838625db7c74307ec7c92c1202a22301
Author: Campbell Barton
Date:   Wed Sep 2 13:39:55 2015 +1000
Branches: master
https://developer.blender.org/rBf6e0262a838625db7c74307ec7c92c1202a22301

Enable guarded-alloc when --debug-all is passed

===================================================================

M	source/creator/creator.c

===================================================================

diff --git a/source/creator/creator.c b/source/creator/creator.c
index 6d42eba..ef52b39 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -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();




More information about the Bf-blender-cvs mailing list