|
Blender
V2.93
|
#include <errno.h>#include <stdlib.h>#include <string.h>#include "MEM_guardedalloc.h"#include "CLG_log.h"#include "BLI_args.h"#include "BLI_fileops.h"#include "BLI_listbase.h"#include "BLI_mempool.h"#include "BLI_path_util.h"#include "BLI_string.h"#include "BLI_string_utf8.h"#include "BLI_system.h"#include "BLI_threads.h"#include "BLI_utildefines.h"#include "BLO_readfile.h"#include "BKE_blender_version.h"#include "BKE_context.h"#include "BKE_global.h"#include "BKE_image.h"#include "BKE_lib_id.h"#include "BKE_main.h"#include "BKE_report.h"#include "BKE_scene.h"#include "BKE_sound.h"#include "RE_engine.h"#include "RE_pipeline.h"#include "ED_datafiles.h"#include "WM_api.h"#include "DEG_depsgraph.h"#include "DEG_depsgraph_build.h"#include "DEG_depsgraph_debug.h"#include "WM_types.h"#include "creator_intern.h"Go to the source code of this file.
Macros | |
| #define | CB(a) a##_doc, a |
| #define | CB_EX(a, b) a##_doc_##b, a |
Functions | |
Utility String Parsing | |
| static bool | parse_int_relative (const char *str, const char *str_end_test, int pos, int neg, int *r_value, const char **r_err_msg) |
| static const char * | parse_int_range_sep_search (const char *str, const char *str_end_test) |
| static bool | parse_int_range_relative (const char *str, const char *str_end_range, const char *str_end_test, int pos, int neg, int r_value_range[2], const char **r_err_msg) |
| static bool | parse_int_relative_clamp (const char *str, const char *str_end_test, int pos, int neg, int min, int max, int *r_value, const char **r_err_msg) |
| static bool | parse_int_range_relative_clamp (const char *str, const char *str_end_range, const char *str_end_test, int pos, int neg, int min, int max, int r_value_range[2], const char **r_err_msg) |
| static bool | parse_int_strict_range (const char *str, const char *str_end_test, const int min, const int max, int *r_value, const char **r_err_msg) |
| static bool | parse_int (const char *str, const char *str_end_test, int *r_value, const char **r_err_msg) |
| static bool | parse_int_clamp (const char *str, const char *str_end_test, int min, int max, int *r_value, const char **r_err_msg) |
| static int(* | parse_int_range_relative_clamp_n (const char *str, int pos, int neg, int min, int max, int *r_value_len, const char **r_err_msg))[2] |
Handle Argument Callbacks | |
| |
| #define | PY_ENABLE_AUTO ", (default)" |
| #define | PY_DISABLE_AUTO "" |
| static const char | arg_handle_print_version_doc [] |
| static const char | arg_handle_print_help_doc [] |
| static const char | arg_handle_print_help_doc_win32 [] |
| static const char | arg_handle_arguments_end_doc [] |
| static const char | arg_handle_python_set_doc_enable [] |
| static const char | arg_handle_python_set_doc_disable [] |
| static const char | arg_handle_crash_handler_disable_doc [] |
| static const char | arg_handle_abort_handler_disable_doc [] |
| static const char | arg_handle_debug_exit_on_error_doc [] |
| static const char | arg_handle_background_mode_set_doc [] |
| static const char | arg_handle_log_level_set_doc [] |
| static const char | arg_handle_log_show_basename_set_doc [] |
| static const char | arg_handle_log_show_backtrace_set_doc [] |
| static const char | arg_handle_log_show_timestamp_set_doc [] |
| static const char | arg_handle_log_file_set_doc [] |
| static const char | arg_handle_log_set_doc [] |
| static const char | arg_handle_debug_mode_set_doc [] |
| static const char | arg_handle_debug_mode_generic_set_doc_python [] |
| static const char | arg_handle_debug_mode_generic_set_doc_events [] |
| static const char | arg_handle_debug_mode_generic_set_doc_handlers [] |
| static const char | arg_handle_debug_mode_generic_set_doc_wm [] |
| static const char | arg_handle_debug_mode_generic_set_doc_jobs [] |
| static const char | arg_handle_debug_mode_generic_set_doc_gpu [] |
| static const char | arg_handle_debug_mode_generic_set_doc_depsgraph [] |
| static const char | arg_handle_debug_mode_generic_set_doc_depsgraph_build [] |
| static const char | arg_handle_debug_mode_generic_set_doc_depsgraph_tag [] |
| static const char | arg_handle_debug_mode_generic_set_doc_depsgraph_time [] |
| static const char | arg_handle_debug_mode_generic_set_doc_depsgraph_eval [] |
| static const char | arg_handle_debug_mode_generic_set_doc_depsgraph_no_threads [] |
| static const char | arg_handle_debug_mode_generic_set_doc_depsgraph_pretty [] |
| static const char | arg_handle_debug_mode_generic_set_doc_gpu_force_workarounds [] |
| static const char | arg_handle_debug_mode_io_doc [] |
| static const char | arg_handle_debug_mode_all_doc [] |
| static const char | arg_handle_debug_mode_memory_set_doc [] |
| static const char | arg_handle_debug_value_set_doc [] |
| static const char | arg_handle_debug_fpe_set_doc [] |
| static const char | arg_handle_app_template_doc [] |
| static const char | arg_handle_factory_startup_set_doc [] |
| static const char | arg_handle_enable_event_simulate_doc [] |
| static const char | arg_handle_env_system_set_doc_datafiles [] |
| static const char | arg_handle_env_system_set_doc_scripts [] |
| static const char | arg_handle_env_system_set_doc_python [] |
| static const char | arg_handle_playback_mode_doc [] |
| static const char | arg_handle_window_geometry_doc [] |
| static const char | arg_handle_native_pixels_set_doc [] |
| static const char | arg_handle_with_borders_doc [] |
| static const char | arg_handle_without_borders_doc [] |
| static const char | arg_handle_window_maximized_doc [] |
| static const char | arg_handle_no_window_focus_doc [] |
| static const char | arg_handle_start_with_console_doc [] |
| static const char | arg_handle_register_extension_doc [] |
| static const char | arg_handle_register_extension_doc_silent [] |
| static const char | arg_handle_audio_disable_doc [] |
| static const char | arg_handle_audio_set_doc [] |
| static const char | arg_handle_output_set_doc [] |
| static const char | arg_handle_engine_set_doc [] |
| static const char | arg_handle_image_type_set_doc [] |
| static const char | arg_handle_threads_set_doc [] |
| static const char | arg_handle_verbosity_set_doc [] |
| static const char | arg_handle_extension_set_doc [] |
| static const char | arg_handle_render_frame_doc [] |
| static const char | arg_handle_render_animation_doc [] |
| static const char | arg_handle_scene_set_doc [] |
| static const char | arg_handle_frame_start_set_doc [] |
| static const char | arg_handle_frame_end_set_doc [] |
| static const char | arg_handle_frame_skip_set_doc [] |
| static const char | arg_handle_python_file_run_doc [] |
| static const char | arg_handle_python_text_run_doc [] |
| static const char | arg_handle_python_expr_run_doc [] |
| static const char | arg_handle_python_console_run_doc [] |
| static const char | arg_handle_python_exit_code_set_doc [] |
| static const char | arg_handle_python_use_system_env_set_doc [] |
| static const char | arg_handle_addons_set_doc [] |
| static const char | arg_handle_load_last_file_doc [] |
| static void | print_version_full (void) |
| static void | print_version_short (void) |
| static int | arg_handle_print_version (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_print_help (int UNUSED(argc), const char **UNUSED(argv), void *data) |
| static int | arg_handle_arguments_end (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_python_set (int UNUSED(argc), const char **UNUSED(argv), void *data) |
| static int | arg_handle_crash_handler_disable (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_abort_handler_disable (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static void | clog_abort_on_error_callback (void *fp) |
| static int | arg_handle_debug_exit_on_error (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_background_mode_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_log_level_set (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_log_show_basename_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_log_show_backtrace_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_log_show_timestamp_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_log_file_set (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_log_set (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_debug_mode_set (int UNUSED(argc), const char **UNUSED(argv), void *data) |
| static int | arg_handle_debug_mode_generic_set (int UNUSED(argc), const char **UNUSED(argv), void *data) |
| static int | arg_handle_debug_mode_io (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_debug_mode_all (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_debug_mode_memory_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_debug_value_set (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_debug_fpe_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_app_template (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_factory_startup_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_enable_event_simulate (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_env_system_set (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_playback_mode (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_window_geometry (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_native_pixels_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_with_borders (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_without_borders (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_window_maximized (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_no_window_focus (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_start_with_console (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_register_extension (int UNUSED(argc), const char **UNUSED(argv), void *data) |
| static int | arg_handle_audio_disable (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_audio_set (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_output_set (int argc, const char **argv, void *data) |
| static int | arg_handle_engine_set (int argc, const char **argv, void *data) |
| static int | arg_handle_image_type_set (int argc, const char **argv, void *data) |
| static int | arg_handle_threads_set (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_verbosity_set (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_extension_set (int argc, const char **argv, void *data) |
| static int | arg_handle_render_frame (int argc, const char **argv, void *data) |
| static int | arg_handle_render_animation (int UNUSED(argc), const char **UNUSED(argv), void *data) |
| static int | arg_handle_scene_set (int argc, const char **argv, void *data) |
| static int | arg_handle_frame_start_set (int argc, const char **argv, void *data) |
| static int | arg_handle_frame_end_set (int argc, const char **argv, void *data) |
| static int | arg_handle_frame_skip_set (int argc, const char **argv, void *data) |
| static int | arg_handle_python_file_run (int argc, const char **argv, void *data) |
| static int | arg_handle_python_text_run (int argc, const char **argv, void *data) |
| static int | arg_handle_python_expr_run (int argc, const char **argv, void *data) |
| static int | arg_handle_python_console_run (int UNUSED(argc), const char **argv, void *data) |
| static int | arg_handle_python_exit_code_set (int argc, const char **argv, void *UNUSED(data)) |
| static int | arg_handle_python_use_system_env_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data)) |
| static int | arg_handle_addons_set (int argc, const char **argv, void *data) |
| static int | arg_handle_load_file (int UNUSED(argc), const char **argv, void *data) |
| static int | arg_handle_load_last_file (int UNUSED(argc), const char **UNUSED(argv), void *data) |
| void | main_args_setup (bContext *C, bArgs *ba) |
| void | main_args_setup_post (bContext *C, bArgs *ba) |
| #define CB | ( | a | ) | a##_doc, a |
| #define CB_EX | ( | a, | |
| b | |||
| ) | a##_doc_##b, a |
| #define PY_DISABLE_AUTO "" |
Definition at line 702 of file creator_args.c.
| #define PY_ENABLE_AUTO ", (default)" |
Definition at line 701 of file creator_args.c.
|
static |
Definition at line 743 of file creator_args.c.
References app_state, ApplicationState::signal, and ApplicationState::use_abort_handler.
Referenced by main_args_setup().
|
static |
Definition at line 1915 of file creator_args.c.
References BLI_assert, BLI_snprintf(), BPY_run_string_exec(), C, data, free(), NULL, str, and UNUSED_VARS.
Referenced by main_args_setup().
|
static |
Definition at line 1108 of file creator_args.c.
References app_template, STREQ, and WM_init_state_app_template_set().
Referenced by main_args_setup().
|
static |
Definition at line 692 of file creator_args.c.
Referenced by main_args_setup().
|
static |
Definition at line 1324 of file creator_args.c.
References BKE_sound_force_device().
Referenced by main_args_setup().
|
static |
Definition at line 1337 of file creator_args.c.
References BKE_sound_force_device().
Referenced by main_args_setup().
|
static |
Definition at line 773 of file creator_args.c.
References G, and print_version_short().
Referenced by main_args_setup().
|
static |
Definition at line 732 of file creator_args.c.
References app_state, ApplicationState::signal, and ApplicationState::use_crash_handler.
Referenced by main_args_setup().
|
static |
Definition at line 761 of file creator_args.c.
References CLG_error_fn_set(), clog_abort_on_error_callback(), and MEM_enable_fail_on_memleak().
Referenced by main_args_setup().
|
static |
Definition at line 1097 of file creator_args.c.
References main_signal_setup_fpe().
Referenced by main_args_setup().
|
static |
Definition at line 1020 of file creator_args.c.
References CCL_start_debug_logging(), G, G_DEBUG_ALL, and libmv_startDebugLogging().
Referenced by main_args_setup().
|
static |
Definition at line 998 of file creator_args.c.
References data, G, and POINTER_AS_INT.
Referenced by main_args_setup().
|
static |
Definition at line 1009 of file creator_args.c.
References G, and G_DEBUG_IO.
Referenced by main_args_setup().
|
static |
Definition at line 1064 of file creator_args.c.
References MEM_set_memory_debug.
Referenced by main_args_setup().
|
static |
Definition at line 917 of file creator_args.c.
References BKE_blender_version_string(), BLI_args_print(), BLI_mempool_set_memory_debug(), build_date, build_platform, build_time, build_type, data, G, G_DEBUG, and MEM_set_memory_debug.
Referenced by main_args_setup().
|
static |
Definition at line 1075 of file creator_args.c.
References G, NULL, and parse_int().
Referenced by main_args_setup().
|
static |
Definition at line 1134 of file creator_args.c.
References G, and G_FLAG_EVENT_SIMULATE.
Referenced by main_args_setup().
|
static |
Definition at line 1385 of file creator_args.c.
References BLI_findstring(), BLI_strncpy_utf8(), C, CTX_data_scene(), data, DEG_id_tag_update(), RenderData::engine, ListBase::first, Scene::id, ID_RECALC_COPY_ON_WRITE, NULL, Scene::r, R_engines, scene, STREQ, and type.
Referenced by main_args_setup().
|
static |
Definition at line 1152 of file creator_args.c.
References BLI_setenv().
Referenced by main_args_setup().
|
static |
Definition at line 1518 of file creator_args.c.
References C, CTX_data_scene(), data, DEG_id_tag_update(), Scene::id, ID_RECALC_COPY_ON_WRITE, Scene::r, R_EXTENSION, RenderData::scemode, and scene.
Referenced by main_args_setup().
|
static |
Definition at line 1122 of file creator_args.c.
References G, and G_FLAG_USERPREF_NO_SAVE_ON_EXIT.
Referenced by main_args_setup().
|
static |
Definition at line 1692 of file creator_args.c.
References C, CTX_data_scene(), data, DEG_id_tag_update(), RenderData::efra, Scene::id, ID_RECALC_COPY_ON_WRITE, MAXFRAME, MINAFRAME, NULL, parse_int_relative_clamp(), Scene::r, and scene.
Referenced by main_args_setup().
|
static |
Definition at line 1725 of file creator_args.c.
References C, CTX_data_scene(), data, DEG_id_tag_update(), RenderData::frame_step, Scene::id, ID_RECALC_COPY_ON_WRITE, MAXFRAME, NULL, parse_int_clamp(), Scene::r, and scene.
Referenced by main_args_setup().
|
static |
Definition at line 1659 of file creator_args.c.
References C, CTX_data_scene(), data, DEG_id_tag_update(), Scene::id, ID_RECALC_COPY_ON_WRITE, MAXFRAME, MINAFRAME, NULL, parse_int_relative_clamp(), Scene::r, scene, and RenderData::sfra.
Referenced by main_args_setup().
|
static |
Definition at line 1430 of file creator_args.c.
References BKE_imtype_from_arg(), C, CTX_data_scene(), data, DEG_id_tag_update(), Scene::id, ID_RECALC_COPY_ON_WRITE, RenderData::im_format, ImageFormatData::imtype, Scene::r, R_IMF_IMTYPE_INVALID, and scene.
Referenced by main_args_setup().
|
static |
Definition at line 1942 of file creator_args.c.
References BKE_reports_clear(), BKE_reports_init(), BLI_path_abs_from_cwd(), BLI_strncpy(), BLO_has_bfile_extension(), C, CTX_wm_window_set(), data, FILE_MAX, G, G_MAIN, NULL, RPT_PRINT, WM_exit(), WM_file_autoexec_init(), and WM_file_read().
Referenced by arg_handle_load_last_file(), and main_args_setup_post().
|
static |
Definition at line 2008 of file creator_args.c.
References arg_handle_load_file(), ARRAY_SIZE, BLI_listbase_is_empty(), data, RecentFile::filepath, and G.
Referenced by main_args_setup().
|
static |
Definition at line 844 of file creator_args.c.
References BLI_fopen(), CLG_output_set(), G, NULL, and UNLIKELY.
Referenced by main_args_setup().
|
static |
Definition at line 786 of file creator_args.c.
References CLG_level_set(), G, NULL, and parse_int_clamp().
Referenced by main_args_setup().
|
static |
Definition at line 877 of file creator_args.c.
References CLG_type_filter_exclude(), and CLG_type_filter_include().
Referenced by main_args_setup().
|
static |
Definition at line 820 of file creator_args.c.
References BLI_system_backtrace(), and CLG_backtrace_fn_set().
Referenced by main_args_setup().
|
static |
Definition at line 809 of file creator_args.c.
References CLG_output_use_basename_set().
Referenced by main_args_setup().
|
static |
Definition at line 833 of file creator_args.c.
References CLG_output_use_timestamp_set().
Referenced by main_args_setup().
|
static |
Definition at line 1241 of file creator_args.c.
References WM_init_native_pixels().
Referenced by main_args_setup().
|
static |
Definition at line 1283 of file creator_args.c.
References WM_init_window_focus_set().
Referenced by main_args_setup().
|
static |
Definition at line 1363 of file creator_args.c.
References BLI_strncpy(), C, CTX_data_scene(), data, DEG_id_tag_update(), Scene::id, ID_RECALC_COPY_ON_WRITE, RenderData::pic, Scene::r, and scene.
Referenced by main_args_setup().
|
static |
Definition at line 1196 of file creator_args.c.
References G, IMB_ffmpeg_init(), and WM_main_playanim().
Referenced by main_args_setup().
|
static |
Definition at line 502 of file creator_args.c.
References BKE_blender_version_string(), BLI_args_has_other_doc(), BLI_args_print_arg_doc(), BLI_args_print_other_doc(), and data.
Referenced by main_args_setup().
|
static |
Definition at line 487 of file creator_args.c.
References print_version_full().
Referenced by main_args_setup().
|
static |
Definition at line 1855 of file creator_args.c.
References BPY_run_string_eval(), C, data, NULL, and UNUSED_VARS.
Referenced by main_args_setup().
|
static |
Definition at line 1874 of file creator_args.c.
References app_state, ApplicationState::exit_code_on_error, max, min, NULL, parse_int_strict_range(), and ApplicationState::python.
Referenced by main_args_setup().
|
static |
Definition at line 1826 of file creator_args.c.
References app_state, BPY_python_end(), BPY_run_string_exec(), C, data, ApplicationState::exit_code_on_error, NULL, ApplicationState::python, and UNUSED_VARS.
Referenced by main_args_setup().
|
static |
Definition at line 1751 of file creator_args.c.
References app_state, BLI_path_abs_from_cwd(), BLI_strncpy(), BPY_python_end(), BPY_run_filepath(), C, data, ApplicationState::exit_code_on_error, FILE_MAX, NULL, ApplicationState::python, and UNUSED_VARS.
Referenced by main_args_setup().
|
static |
Definition at line 717 of file creator_args.c.
References data, G, G_FLAG_SCRIPT_AUTOEXEC, and G_FLAG_SCRIPT_OVERRIDE_PREF.
Referenced by main_args_setup().
|
static |
Definition at line 1785 of file creator_args.c.
References app_state, BKE_libblock_find_name(), BPY_python_end(), BPY_run_text(), C, CTX_data_main(), data, ApplicationState::exit_code_on_error, ID_TXT, NULL, ApplicationState::python, and UNUSED_VARS.
Referenced by main_args_setup().
|
static |
Definition at line 1902 of file creator_args.c.
References BPY_python_use_system_env().
Referenced by main_args_setup().
|
static |
Definition at line 1308 of file creator_args.c.
References BLI_windows_register_blend_extension(), data, and G.
Referenced by main_args_setup().
|
static |
Definition at line 1609 of file creator_args.c.
References BKE_reports_clear(), BKE_reports_init(), C, CTX_data_main(), CTX_data_scene(), data, RenderData::efra, RenderData::frame_step, NULL, Scene::r, RE_NewSceneRender(), RE_RenderAnim(), RE_SetReports(), RPT_STORE, scene, and RenderData::sfra.
Referenced by main_args_setup().
|
static |
Definition at line 1555 of file creator_args.c.
References BKE_reports_clear(), BKE_reports_init(), C, CTX_data_main(), CTX_data_scene(), data, RenderData::efra, RenderData::frame_step, MAXFRAME, MEM_freeN, MINAFRAME, NULL, parse_int_range_relative_clamp_n(), Scene::r, RE_NewSceneRender(), RE_RenderAnim(), RE_SetReports(), RPT_STORE, scene, and RenderData::sfra.
Referenced by main_args_setup().
|
static |
Definition at line 1632 of file creator_args.c.
References BKE_scene_set_name(), C, CTX_data_main(), CTX_data_scene_set(), CTX_wm_manager(), CTX_wm_window(), data, ListBase::first, NULL, scene, wmWindowManager::windows, and WM_window_set_active_scene().
Referenced by main_args_setup().
|
static |
Definition at line 1294 of file creator_args.c.
References WM_init_state_start_with_console_set().
Referenced by main_args_setup().
|
static |
Definition at line 1464 of file creator_args.c.
References BLENDER_MAX_THREADS, BLI_system_num_threads_override_set(), max, min, NULL, parse_int_strict_range(), and blender::compositor::threads.
Referenced by main_args_setup().
|
static |
Definition at line 1491 of file creator_args.c.
References CCL_logging_verbosity_set(), libmv_setLoggingVerbosity(), NULL, and parse_int().
Referenced by main_args_setup().
|
static |
Definition at line 1215 of file creator_args.c.
References NULL, params, parse_int(), UNPACK4, and WM_init_state_size_set().
Referenced by main_args_setup().
|
static |
Definition at line 1272 of file creator_args.c.
References WM_init_state_maximized_set().
Referenced by main_args_setup().
|
static |
Definition at line 1252 of file creator_args.c.
References WM_init_state_normal_set().
Referenced by main_args_setup().
|
static |
Definition at line 1261 of file creator_args.c.
References WM_init_state_fullscreen_set().
Referenced by main_args_setup().
|
static |
Definition at line 751 of file creator_args.c.
References BLI_system_backtrace().
Referenced by arg_handle_debug_exit_on_error().
Definition at line 2020 of file creator_args.c.
References arg_handle_abort_handler_disable(), arg_handle_addons_set(), arg_handle_app_template(), arg_handle_arguments_end(), arg_handle_audio_disable(), arg_handle_audio_set(), arg_handle_background_mode_set(), arg_handle_crash_handler_disable(), arg_handle_debug_exit_on_error(), arg_handle_debug_fpe_set(), arg_handle_debug_mode_all(), arg_handle_debug_mode_generic_set(), arg_handle_debug_mode_io(), arg_handle_debug_mode_memory_set(), arg_handle_debug_mode_set(), arg_handle_debug_value_set(), arg_handle_enable_event_simulate(), arg_handle_engine_set(), arg_handle_env_system_set(), arg_handle_extension_set(), arg_handle_factory_startup_set(), arg_handle_frame_end_set(), arg_handle_frame_skip_set(), arg_handle_frame_start_set(), arg_handle_image_type_set(), arg_handle_load_last_file(), arg_handle_log_file_set(), arg_handle_log_level_set(), arg_handle_log_set(), arg_handle_log_show_backtrace_set(), arg_handle_log_show_basename_set(), arg_handle_log_show_timestamp_set(), arg_handle_native_pixels_set(), arg_handle_no_window_focus(), arg_handle_output_set(), arg_handle_playback_mode(), arg_handle_print_help(), arg_handle_print_version(), arg_handle_python_console_run(), arg_handle_python_exit_code_set(), arg_handle_python_expr_run(), arg_handle_python_file_run(), arg_handle_python_set(), arg_handle_python_text_run(), arg_handle_python_use_system_env_set(), arg_handle_register_extension(), arg_handle_render_animation(), arg_handle_render_frame(), arg_handle_scene_set(), arg_handle_start_with_console(), arg_handle_threads_set(), arg_handle_verbosity_set(), arg_handle_window_geometry(), arg_handle_window_maximized(), arg_handle_with_borders(), arg_handle_without_borders(), ARG_PASS_ENVIRONMENT, ARG_PASS_FINAL, ARG_PASS_SETTINGS, ARG_PASS_SETTINGS_FORCE, ARG_PASS_SETTINGS_GUI, BLI_args_add(), BLI_args_add_case(), BLI_args_pass_set(), C, CB, CB_EX, depsgraph, G_DEBUG_DEPSGRAPH, G_DEBUG_DEPSGRAPH_BUILD, G_DEBUG_DEPSGRAPH_EVAL, G_DEBUG_DEPSGRAPH_NO_THREADS, G_DEBUG_DEPSGRAPH_PRETTY, G_DEBUG_DEPSGRAPH_TAG, G_DEBUG_DEPSGRAPH_TIME, G_DEBUG_DEPSGRAPH_UUID, G_DEBUG_EVENTS, G_DEBUG_FFMPEG, G_DEBUG_FREESTYLE, G_DEBUG_GHOST, G_DEBUG_GPU, G_DEBUG_GPU_FORCE_WORKAROUNDS, G_DEBUG_HANDLERS, G_DEBUG_JOBS, G_DEBUG_PYTHON, G_DEBUG_WM, G_DEBUG_XR, G_DEBUG_XR_TIME, and NULL.
Referenced by main().
Needs to be added separately.
Definition at line 2254 of file creator_args.c.
References arg_handle_load_file(), ARG_PASS_FINAL, BLI_args_parse(), and C.
Referenced by main().
|
static |
Definition at line 237 of file creator_args.c.
References parse_int_strict_range(), and str.
Referenced by arg_handle_debug_value_set(), arg_handle_verbosity_set(), arg_handle_window_geometry(), and parse_int_clamp().
|
static |
Definition at line 245 of file creator_args.c.
References CLAMP, max, min, parse_int(), and str.
Referenced by arg_handle_frame_skip_set(), and arg_handle_log_level_set().
|
static |
Parse a number as a range, eg: 1..4.
The str_end_range argument is a result of parse_int_range_sep_search.
Definition at line 156 of file creator_args.c.
References parse_int_relative(), pos, and str.
Referenced by parse_int_range_relative_clamp().
|
static |
Definition at line 188 of file creator_args.c.
References CLAMP, max, min, parse_int_range_relative(), pos, and str.
Referenced by parse_int_range_relative_clamp_n().
|
static |
Version of parse_int_relative_clamp & parse_int_range_relative_clamp that parses a comma separated list of numbers.
Definition at line 315 of file creator_args.c.
References ELEM, len, max, MEM_freeN, MEM_mallocN, min, NULL, parse_int_range_relative_clamp(), parse_int_range_sep_search(), parse_int_relative_clamp(), pos, and str.
Referenced by arg_handle_render_frame().
|
static |
Definition at line 133 of file creator_args.c.
Referenced by parse_int_range_relative_clamp_n().
|
static |
Definition at line 95 of file creator_args.c.
References NULL, pos, and str.
Referenced by parse_int_range_relative(), and parse_int_relative_clamp().
|
static |
Definition at line 172 of file creator_args.c.
References CLAMP, max, min, parse_int_relative(), pos, and str.
Referenced by arg_handle_frame_end_set(), arg_handle_frame_start_set(), and parse_int_range_relative_clamp_n().
|
static |
No clamping, fails with any number outside the range.
Definition at line 210 of file creator_args.c.
References max, NULL, and str.
Referenced by arg_handle_python_exit_code_set(), arg_handle_threads_set(), and parse_int().
|
static |
Definition at line 451 of file creator_args.c.
References BKE_blender_version_string(), build_cflags, build_commit_date, build_commit_time, build_cxxflags, build_date, build_hash, build_linkflags, build_platform, build_system, build_time, and build_type.
Referenced by arg_handle_print_version().
|
static |
Definition at line 469 of file creator_args.c.
References BKE_blender_version_string(), build_date, build_hash, and build_time.
Referenced by arg_handle_background_mode_set().
|
static |
Definition at line 740 of file creator_args.c.
|
static |
Definition at line 1912 of file creator_args.c.
|
static |
Definition at line 1105 of file creator_args.c.
|
static |
Definition at line 688 of file creator_args.c.
|
static |
Definition at line 1321 of file creator_args.c.
|
static |
Definition at line 1332 of file creator_args.c.
|
static |
Definition at line 770 of file creator_args.c.
|
static |
Definition at line 729 of file creator_args.c.
|
static |
Definition at line 758 of file creator_args.c.
|
static |
Definition at line 1094 of file creator_args.c.
|
static |
Definition at line 1017 of file creator_args.c.
|
static |
Definition at line 973 of file creator_args.c.
|
static |
Definition at line 976 of file creator_args.c.
|
static |
Definition at line 985 of file creator_args.c.
|
static |
Definition at line 988 of file creator_args.c.
|
static |
Definition at line 991 of file creator_args.c.
|
static |
Definition at line 979 of file creator_args.c.
|
static |
Definition at line 982 of file creator_args.c.
|
static |
Definition at line 947 of file creator_args.c.
|
static |
Definition at line 970 of file creator_args.c.
|
static |
Definition at line 994 of file creator_args.c.
|
static |
Definition at line 950 of file creator_args.c.
|
static |
Definition at line 967 of file creator_args.c.
|
static |
Definition at line 944 of file creator_args.c.
|
static |
Definition at line 953 of file creator_args.c.
|
static |
Definition at line 1006 of file creator_args.c.
|
static |
Definition at line 1061 of file creator_args.c.
|
static |
Definition at line 910 of file creator_args.c.
|
static |
Definition at line 1072 of file creator_args.c.
|
static |
Definition at line 1131 of file creator_args.c.
|
static |
Definition at line 1381 of file creator_args.c.
|
static |
Definition at line 1142 of file creator_args.c.
|
static |
Definition at line 1148 of file creator_args.c.
|
static |
Definition at line 1145 of file creator_args.c.
|
static |
Definition at line 1515 of file creator_args.c.
|
static |
Definition at line 1119 of file creator_args.c.
|
static |
Definition at line 1689 of file creator_args.c.
|
static |
Definition at line 1722 of file creator_args.c.
|
static |
Definition at line 1656 of file creator_args.c.
|
static |
Definition at line 1422 of file creator_args.c.
|
static |
Definition at line 2005 of file creator_args.c.
|
static |
Definition at line 841 of file creator_args.c.
|
static |
Definition at line 782 of file creator_args.c.
|
static |
Definition at line 867 of file creator_args.c.
|
static |
Definition at line 817 of file creator_args.c.
|
static |
Definition at line 806 of file creator_args.c.
|
static |
Definition at line 830 of file creator_args.c.
|
static |
Definition at line 1238 of file creator_args.c.
|
static |
Definition at line 1280 of file creator_args.c.
|
static |
Definition at line 1348 of file creator_args.c.
|
static |
Definition at line 1174 of file creator_args.c.
|
static |
Definition at line 496 of file creator_args.c.
|
static |
Definition at line 499 of file creator_args.c.
|
static |
Definition at line 484 of file creator_args.c.
|
static |
Definition at line 1852 of file creator_args.c.
|
static |
Definition at line 1870 of file creator_args.c.
|
static |
Definition at line 1823 of file creator_args.c.
|
static |
Definition at line 1748 of file creator_args.c.
|
static |
Definition at line 711 of file creator_args.c.
|
static |
Definition at line 708 of file creator_args.c.
|
static |
Definition at line 1782 of file creator_args.c.
|
static |
Definition at line 1898 of file creator_args.c.
|
static |
Definition at line 1302 of file creator_args.c.
|
static |
Definition at line 1305 of file creator_args.c.
|
static |
Definition at line 1606 of file creator_args.c.
|
static |
Definition at line 1547 of file creator_args.c.
|
static |
Definition at line 1629 of file creator_args.c.
|
static |
Definition at line 1291 of file creator_args.c.
|
static |
Definition at line 1460 of file creator_args.c.
|
static |
Definition at line 1488 of file creator_args.c.
|
static |
Definition at line 1212 of file creator_args.c.
|
static |
Definition at line 1269 of file creator_args.c.
|
static |
Definition at line 1249 of file creator_args.c.
|
static |
Definition at line 1258 of file creator_args.c.