diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-01 13:12:41 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-01 13:12:41 +0300 |
commit | f1a217c5f9f05045f1c38fb39ee12260ca4010b9 (patch) | |
tree | 451039312ff55214c5be9596a5d9c9d697f0921b /source/blender/makesdna | |
parent | 610026765bbd121fe55a30b19117a28f13769503 (diff) |
Library manegement features:
- Outliner now shows hierarchy for Libraries, indicating which Library
files invoked loading another.
- SHIFT+F1 "Append" browser has a Library menu, allowing to directly browse
into all open library files. This will prevent accidents like re-opening
a same .blend via another path.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_ID.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h index 638a225bd21..080d2861a19 100644 --- a/source/blender/makesdna/DNA_ID.h +++ b/source/blender/makesdna/DNA_ID.h @@ -117,14 +117,16 @@ typedef struct ID { /** * For each library file used, a Library struct is added to Main + * WARNING: readfile.c, expand_doit() reads this struct without DNA check! */ typedef struct Library { ID id; ID *idblock; struct FileData *filedata; - char name[240]; /* reveiled in the UI, can store relative path */ - char filename[240]; /* expanded name, not relative, used while reading */ - int tot, pad; /* tot, idblock and filedata are only fo read and write */ + char name[240]; /* reveiled in the UI, can store relative path */ + char filename[240]; /* expanded name, not relative, used while reading */ + int tot, pad; /* tot, idblock and filedata are only fo read and write */ + struct Library *parent; /* for outliner, showing dependency */ } Library; /** |