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:
authorTon Roosendaal <ton@blender.org>2006-01-04 22:05:24 +0300
committerTon Roosendaal <ton@blender.org>2006-01-04 22:05:24 +0300
commit3f4aed3658d612e6a5692895d9bea846290f7796 (patch)
tree863b5a054251774deb243bd57417dc172486a9b6 /source/blender/makesdna/DNA_ID.h
parented2b55585d7c28f980d264e9add5079adde9209c (diff)
Orange; relative path fix for libraries.
- On linking stuff from libraries, each relative path now is relative with respect to the file that uses the library. This way you can make libraries that use other libraries, and link them in your project with an entire different relative path. The commit also fixes issues when mixing up relative or non-relative paths. Now after this I need to commit something cool, so the orangers will update and check! :)
Diffstat (limited to 'source/blender/makesdna/DNA_ID.h')
-rw-r--r--source/blender/makesdna/DNA_ID.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_ID.h b/source/blender/makesdna/DNA_ID.h
index de1461b682c..71f4a30bb24 100644
--- a/source/blender/makesdna/DNA_ID.h
+++ b/source/blender/makesdna/DNA_ID.h
@@ -72,7 +72,8 @@ typedef struct Library {
ID id;
ID *idblock;
struct FileData *filedata;
- char name[160];
+ 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 */
} Library;