Blender  V3.3
Public Attributes | List of all members
wmHomeFileRead_Params Struct Reference

#include <wm_files.h>

Public Attributes

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

Detailed Description

Definition at line 23 of file wm_files.h.

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 47 of file wm_files.h.

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 42 of file wm_files.h.

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 25 of file wm_files.h.

Referenced by wm_homefile_read_ex().

◆ 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 38 of file wm_files.h.

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 33 of file wm_files.h.

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 27 of file wm_files.h.

Referenced by wm_homefile_read_ex().


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