Blender V4.3
wmHomeFileRead_Params Struct Reference

#include <wm_files.hh>

Public Attributes

unsigned int use_data: 1
 
unsigned int use_userdef: 1
 
unsigned int use_factory_settings: 1
 
unsigned int use_factory_settings_app_template_only: 1
 
unsigned int use_empty_data: 1
 
unsigned int is_first_time: 1
 
const char * filepath_startup_override
 
const char * app_template_override
 

Detailed Description

Definition at line 27 of file wm_files.hh.

Member Data Documentation

◆ app_template_override

const char* wmHomeFileRead_Params::app_template_override

Template to use instead of the template defined in user-preferences. When not-null, this is written into the user preferences.

Definition at line 58 of file wm_files.hh.

Referenced by wm_homefile_read_ex().

◆ filepath_startup_override

const char* wmHomeFileRead_Params::filepath_startup_override

Optional path pointing to an alternative blend file (may be NULL).

Definition at line 53 of file wm_files.hh.

Referenced by wm_homefile_read_ex().

◆ is_first_time

unsigned int wmHomeFileRead_Params::is_first_time

When true, this is the first time the home file is read. In this case resetting the previous state can be skipped.

Definition at line 49 of file wm_files.hh.

Referenced by wm_homefile_read_ex().

◆ use_data

unsigned int wmHomeFileRead_Params::use_data

Load data, disable when only loading user preferences.

Definition at line 29 of file wm_files.hh.

Referenced by wm_homefile_read_ex(), wm_homefile_read_exec(), WM_init(), and wm_userpref_read_exec().

◆ use_empty_data

unsigned int wmHomeFileRead_Params::use_empty_data

Load the startup file without any data-blocks. Useful for automated content generation, so the file starts without data.

Definition at line 44 of file wm_files.hh.

Referenced by wm_homefile_read_ex().

◆ use_factory_settings

unsigned int wmHomeFileRead_Params::use_factory_settings

Ignore on-disk startup file, use bundled datatoc_startup_blend instead. Used for "Restore Factory Settings".

Definition at line 37 of file wm_files.hh.

Referenced by wm_homefile_read_ex().

◆ use_factory_settings_app_template_only

unsigned int wmHomeFileRead_Params::use_factory_settings_app_template_only

Read factory settings from the app-templates only (keep other defaults).

Definition at line 39 of file wm_files.hh.

Referenced by wm_homefile_read_ex().

◆ use_userdef

unsigned int wmHomeFileRead_Params::use_userdef

Load factory settings as well as startup file (disabled for "File New").

Definition at line 31 of file wm_files.hh.

Referenced by wm_homefile_read_ex().


The documentation for this struct was generated from the following file: