Blender V4.5
BKE_autoexec.hh File Reference

Go to the source code of this file.

Functions

bool BKE_autoexec_match (const char *path)
bool BKE_autoexec_default_trust_source (const char *filepath)

Function Documentation

◆ BKE_autoexec_default_trust_source()

bool BKE_autoexec_default_trust_source ( const char * filepath)
Returns
True when scripts in the blend-file at filepath are trusted to run automatically by default, used for "Trusted Source" when opening the file.

Definition at line 55 of file autoexec.cc.

References BKE_autoexec_default_trust_source(), BKE_autoexec_match(), BLI_path_basename(), BLI_path_canonicalize_native(), FILE_MAX, G, STRNCPY(), U, and USER_SCRIPT_AUTOEXEC_DISABLE.

Referenced by BKE_autoexec_default_trust_source(), ghost_event_proc(), uiTemplateRecentFiles(), and wm_open_init_use_scripts().

◆ BKE_autoexec_match()

bool BKE_autoexec_match ( const char * path)