Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-06-18 22:11:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-06-18 22:11:52 +0400
commit447e9a4cd5d385e8724b7f92c952d66bd35a2c34 (patch)
treea32a990f805f3d443abe6b078a5b65e6caf65e95 /source/blender/makesdna
parent649dd6f64846ca959566389bc8ce58f87dcb499f (diff)
add option to enable auto-execute scripts, but exclude certain directories.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index a846ac697f0..e0c5cd5608e 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -360,6 +360,12 @@ typedef struct bAddon {
IDProperty *prop; /* User-Defined Properties on this Addon (for storing preferences) */
} bAddon;
+typedef struct bPathCompare {
+ struct bPathCompare *next, *prev;
+ char path[768]; /* FILE_MAXDIR */
+ char flag, pad[7];
+} bPathCompare;
+
typedef struct SolidLight {
int flag, pad;
float col[4], spec[4], vec[4];
@@ -412,6 +418,7 @@ typedef struct UserDef {
struct ListBase keymaps DNA_DEPRECATED; /* deprecated in favor of user_keymaps */
struct ListBase user_keymaps;
struct ListBase addons;
+ struct ListBase autoexec_paths;
char keyconfigstr[64];
short undosteps;
@@ -522,7 +529,12 @@ typedef enum eUserPref_Flag {
USER_TXT_TABSTOSPACES_DISABLE = (1 << 25),
USER_TOOLTIPS_PYTHON = (1 << 26),
} eUserPref_Flag;
-
+
+/* flag */
+typedef enum ePathCompare_Flag {
+ USER_PATHCMP_GLOB = (1 << 0),
+} ePathCompare_Flag;
+
/* helper macro for checking frame clamping */
#define FRAMENUMBER_MIN_CLAMP(cfra) { \
if ((U.flag & USER_NONEGFRAMES) && (cfra < 0)) \