|
Blender V5.0
|
#include "DNA_listBase.h"Go to the source code of this file.
Classes | |
| struct | Global |
Macros | |
| #define | G_FLAG_INTERNET_OVERRIDE_PREF_ANY (G_FLAG_INTERNET_OVERRIDE_PREF_ONLINE | G_FLAG_INTERNET_OVERRIDE_PREF_OFFLINE) |
| #define | G_FLAG_ALL_RUNTIME |
| #define | G_FLAG_ALL_READFILE 0 |
| #define | G_DEBUG_ALL |
| #define | G_FILE_FLAG_ALL_RUNTIME |
| #define | G_MAIN (G).main |
Variables | |
| Global | G |
Global settings, handles, pointers. This is the root for finding any data in Blender. This block is not serialized, but built anew for every fresh Blender run.
Definition in file BKE_global.hh.
| #define G_DEBUG_ALL |
| #define G_FILE_FLAG_ALL_RUNTIME |
Run-time only #G.fileflags which are never read or written to/from Blend files. This means we can change the values without worrying about do-versions.
Definition at line 334 of file BKE_global.hh.
Referenced by setup_app_data(), and write_global().
| #define G_FLAG_ALL_READFILE 0 |
Flags to read from blend file.
Definition at line 234 of file BKE_global.hh.
Referenced by setup_app_data(), and WM_file_read().
| #define G_FLAG_ALL_RUNTIME |
Don't overwrite these flags when reading a file.
Definition at line 224 of file BKE_global.hh.
Referenced by setup_app_data(), and WM_file_read().
| #define G_FLAG_INTERNET_OVERRIDE_PREF_ANY (G_FLAG_INTERNET_OVERRIDE_PREF_ONLINE | G_FLAG_INTERNET_OVERRIDE_PREF_OFFLINE) |
Definition at line 220 of file BKE_global.hh.
Referenced by arg_handle_internet_allow_set(), and wm_init_userdef().
Stupid macro to hide the few valid usages of G.main (from startup/exit code e.g.), helps with cleanup task.
Definition at line 366 of file BKE_global.hh.
Referenced by BKE_blender_globals_clear(), BKE_blender_globals_crash_path_get(), BKE_blender_globals_main_replace(), BKE_blender_globals_main_swap(), BKE_id_is_in_global_main(), BKE_image_user_file_path(), BKE_main_blendfile_path_from_global(), BKE_modifier_path_relbase_from_global(), BKE_rigidbody_free_object(), BKE_undosys_step_load_data_ex(), BKE_undosys_step_push_with_type(), BKE_vfont_builtin_ensure(), bpy_app_is_job_running(), bpy_blend_paths(), bpy_bmesh_to_mesh(), bpy_rna_data_temp_data(), BPY_rna_module(), BPY_update_rna_module(), crashlog_file_generate(), do_write_image_or_movie(), dpaint_bake_endjob(), ED_editors_exit(), ED_object_particle_edit_mode_enter_ex(), ED_undo_object_editmode_restore_helper(), ED_undo_object_set_active_or_warn(), ED_undo_stack_get(), ED_uvedit_live_unwrap_begin(), ED_uvedit_live_unwrap_end(), ED_view3d_depth_override(), file_listener(), fluid_bake_endjob(), fluid_free_endjob(), blender::ed::sculpt_paint::undo::geometry_end(), gizmo_find_from_properties(), handle_load_file(), Freestyle::PythonInterpreter::interpretFile(), blender::bke::node_free_socket_type(), blender::bke::node_free_type(), blender::bke::node_register_socket_type(), blender::bke::node_register_type(), blender::bke::node_tree_type_add(), blender::bke::ntree_free_type(), ntreeCompositTagRender(), paste_mtex_copybuf(), pygpu_offscreen_draw_view3d(), pyrna_prop_repr_ex(), pyrna_struct_keyframe_insert(), pyrna_struct_repr(), blender::ed::object::quadriflow_end_job(), RE_FreeUnusedGPUResources(), render_endjob(), rna_property_editable_do(), screen_temp_region_exists(), search_id_collection(), blender::animrig::tests::ActionFilterTest::SetUp(), blender::animrig::tests::ArmatureBoneCollections::SetUp(), blender::bke::image::partial_update::ImagePartialUpdateTest::SetUp(), blender::bke::tests::ImageTest::SetUp(), blender::editor::animation::tests::KeylistSummaryTest::SetUp(), setup_app_data(), stats_background(), blender::animrig::tests::ActionFilterTest::TearDown(), blender::animrig::tests::ArmatureBoneCollections::TearDown(), blender::bke::image::partial_update::ImagePartialUpdateTest::TearDown(), blender::bke::tests::ImageTest::TearDown(), blender::editor::animation::tests::KeylistSummaryTest::TearDown(), undosys_step_decode(), v3d_cursor_snap_free(), view3d_main_region_listener(), wm_autosave_location(), WM_cursor_wait(), WM_drag_asset_id_import(), wm_event_free_and_remove_from_queue_if_valid(), WM_event_remove_modal_handler_all(), WM_file_tag_modified(), wm_gizmo_create(), wm_homefile_read_ex(), WM_init(), wm_keymap_item_equals_result(), WM_keymap_item_find_match(), WM_main_add_notifier(), WM_main_remap_editor_id_reference(), WM_main_remove_notifier_reference(), WM_modalkeymap_ensure(), WM_modalkeymap_operator_items_to_string(), wm_operator_free_for_fileselect(), WM_operator_last_properties_ensure(), WM_operator_name_call_with_properties(), WM_operator_properties_create(), WM_operator_properties_create_ptr(), WM_paint_cursor_activate(), WM_paint_cursor_end(), WM_reports_from_reports_move(), wm_test_foreign_file_warning(), wm_window_free(), wm_window_reset_drawable(), WM_window_set_active_view_layer(), WM_window_title(), wm_xr_runtime_data_free(), wm_xr_session_create_cb(), wm_xr_session_update_screen_on_exit_cb(), and write_crash_blend().
| anonymous enum |
| Enumerator | |
|---|---|
| G_FLAG_RENDER_VIEWPORT | |
| G_FLAG_PICKSEL | |
| G_FLAG_EVENT_SIMULATE | Support simulating events (for testing). |
| G_FLAG_USERPREF_NO_SAVE_ON_EXIT | |
| G_FLAG_INTERNET_ALLOW | Internet access is allowed (offline mode when disabled).
|
| G_FLAG_INTERNET_OVERRIDE_PREF_ONLINE | Launched with --offline-mode (overrides USER_INTERNET_ALLOW when set). |
| G_FLAG_INTERNET_OVERRIDE_PREF_OFFLINE | Launched with --offline-mode (overrides USER_INTERNET_ALLOW when set). |
| G_FLAG_SCRIPT_AUTOEXEC | |
| G_FLAG_SCRIPT_OVERRIDE_PREF | When this flag is set ignore the preferences USER_SCRIPT_AUTOEXEC_DISABLE. |
| G_FLAG_SCRIPT_AUTOEXEC_FAIL | |
| G_FLAG_SCRIPT_AUTOEXEC_FAIL_QUIET | |
| G_FLAG_GPU_BACKEND_FALLBACK | When this flag is set the active GPU Backend is different than the user wants to use. |
| G_FLAG_GPU_BACKEND_FALLBACK_QUIET | |
Definition at line 181 of file BKE_global.hh.
| anonymous enum |
Global.moving, signals drawing in (3d) window to denote transform
| Enumerator | |
|---|---|
| G_TRANSFORM_OBJ | |
| G_TRANSFORM_EDIT | |
| G_TRANSFORM_SEQ | |
| G_TRANSFORM_FCURVES | |
| G_TRANSFORM_WM | Set while interactively transforming screen data (e.g. resizing areas & regions).
|
| G_TRANSFORM_CURSOR | Set when transforming the cursor itself. Used as a hint to draw the cursor (even when hidden). Otherwise it's not possible to see what's being transformed. |
Definition at line 339 of file BKE_global.hh.
| anonymous enum |
| Enumerator | |
|---|---|
| G_FILE_AUTOPACK | |
| G_FILE_COMPRESS | |
| G_BACKGROUND_NO_DEPSGRAPH | When in background mode, do not automatically build a depsgraph when loading a blend-file. Typically set by the --disable-depsgraph-on-file-load command-line argument. NOTE: This is a temporary option, it is intended to be removed in blender 5.0. The default behavior will then be changed to never automatically generate a depsgraph on file-load when in background mode. |
| G_LIBOVERRIDE_NO_AUTO_RESYNC | Do not perform automatic resync of library overrides on blend-file load. NOTE: runtime version of UserDef_Experimental.no_override_auto_resync, both values are OR'ed together. |
| G_FILE_NO_UI | |
| G_FILE_RECOVER_READ | On read, use #FileGlobal.filename instead of the real location on-disk, needed for recovering temp files so relative paths resolve.
|
| G_FILE_RECOVER_WRITE | On write, assign use #FileGlobal.filename, otherwise leave it blank, needed so files can be recovered at their original locations.
|
| G_FILE_ASSET_EDIT_FILE | BMesh option to save as older mesh format This file contains a single asset and its dependencies. Users may edit the asset through the UI and save the changes, at which point the file will be regenerated by the asset system to include the edits (API in #BKE_asset_edit.hh). Stored with an .asset.blend file extension. |
Definition at line 275 of file BKE_global.hh.
| anonymous enum |
Definition at line 237 of file BKE_global.hh.
|
extern |
Defined in blender.cc
Definition at line 56 of file blender.cc.