diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2019-06-15 00:16:04 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2019-06-15 00:21:12 +0300 |
commit | 23254ce4ee6b21b202549b421cf1d98f6a03b33d (patch) | |
tree | 77ebd72c7f1cd2776e058f04b5e6e49f14a327ec /source/creator | |
parent | f64070185808f153d141b26e63942424a1b258b1 (diff) |
Cleanup: Rename: Static Override -> Library Override.
Better to make internal code naming match official/UI naming to some
extent, this will reduce confusion in the future.
This is 'breaking' scripts and files that would use that feature, but
since it is not yet officially supported nor exposed in 2.80, as far
as that release is concerned, it is effectively
a 'no functional changes' commit.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator_args.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/source/creator/creator_args.c b/source/creator/creator_args.c index 11257cce670..e60e104d184 100644 --- a/source/creator/creator_args.c +++ b/source/creator/creator_args.c @@ -1112,14 +1112,14 @@ static int arg_handle_factory_startup_set(int UNUSED(argc), return 0; } -static const char arg_handle_enable_static_override_doc[] = +static const char arg_handle_enable_override_library_doc[] = "\n\t" - "Enable Static Override features in the UI."; -static int arg_handle_enable_static_override(int UNUSED(argc), - const char **UNUSED(argv), - void *UNUSED(data)) + "Enable Library Override features in the UI."; +static int arg_handle_enable_override_library(int UNUSED(argc), + const char **UNUSED(argv), + void *UNUSED(data)) { - BKE_override_static_enable(true); + BKE_override_library_enable(true); return 0; } @@ -2177,7 +2177,7 @@ void main_args_setup(bContext *C, bArgs *ba) BLI_argsAdd(ba, 1, NULL, "--app-template", CB(arg_handle_app_template), NULL); BLI_argsAdd(ba, 1, NULL, "--factory-startup", CB(arg_handle_factory_startup_set), NULL); BLI_argsAdd( - ba, 1, NULL, "--enable-static-override", CB(arg_handle_enable_static_override), NULL); + ba, 1, NULL, "--enable-library-override", CB(arg_handle_enable_override_library), NULL); BLI_argsAdd(ba, 1, NULL, "--enable-event-simulate", CB(arg_handle_enable_event_simulate), NULL); /* TODO, add user env vars? */ |