Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2018-05-22 13:00:23 +0300
committerJoshua Leung <aligorith@gmail.com>2018-05-22 13:00:23 +0300
commit7f714fdbb2643ce9886d27a4493e9c7c5235c30e (patch)
tree6e8e5856fac01930b74eb9a70818f8a3c3207a3d /source/creator/creator_args.c
parent9fc5a0c95eb9f68cb63fbdc8cf6451c152dcb820 (diff)
Depsgraph: Enable copy on write by default
As was decided at today's dev kickoff, we're now moving to having Copy-on-Write enabled by default, as 2.8 is barely functional with it off. To run Blender *without* COW (e.g. for testing), use: --disable-copy-on-write
Diffstat (limited to 'source/creator/creator_args.c')
-rw-r--r--source/creator/creator_args.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c
index 44ff9810b71..95565b034e9 100644
--- a/source/creator/creator_args.c
+++ b/source/creator/creator_args.c
@@ -588,7 +588,7 @@ static int arg_handle_print_help(int UNUSED(argc), const char **UNUSED(argv), vo
printf("\n");
printf("Experimental Features:\n");
- BLI_argsPrintArgDoc(ba, "--enable-copy-on-write");
+ BLI_argsPrintArgDoc(ba, "--disable-copy-on-write");
/* Other options _must_ be last (anything not handled will show here) */
printf("\n");
@@ -1294,8 +1294,8 @@ static const char arg_handle_use_copy_on_write_doc[] =
;
static int arg_handle_use_copy_on_write(int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
{
- printf("Using copy on write. This is highly EXPERIMENTAL!\n");
- DEG_depsgraph_enable_copy_on_write();
+ printf("Disabling copy on write. Only use for testing whether something else is at fault\n");
+ DEG_depsgraph_disable_copy_on_write();
return 0;
}
@@ -1896,7 +1896,7 @@ void main_args_setup(bContext *C, bArgs *ba)
BLI_argsAdd(ba, 1, NULL, "--debug-gpu-shaders",
CB_EX(arg_handle_debug_mode_generic_set, gpumem), (void *)G_DEBUG_GPU_SHADERS);
- BLI_argsAdd(ba, 1, NULL, "--enable-copy-on-write", CB(arg_handle_use_copy_on_write), NULL);
+ BLI_argsAdd(ba, 1, NULL, "--disable-copy-on-write", CB(arg_handle_use_copy_on_write), NULL);
BLI_argsAdd(ba, 1, NULL, "--verbose", CB(arg_handle_verbosity_set), NULL);