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>2004-06-23 22:48:55 +0400
committerTon Roosendaal <ton@blender.org>2004-06-23 22:48:55 +0400
commiteec72e3d4b4eb26b06e52678b67a7e605e8b1cae (patch)
treedda5a9c302ff51b957a8861ef87211bc7155a0dc /source/blender/src/header_filesel.c
parentec6b6314f0337e9ac5d8689610c9a30207d0e9c6 (diff)
Feature requests:
- usage of relative paths "//" now can be controlled with a button in the fileselect header - relative path support added for linked Library files Note: in oops window you can see the library file names, select the last icon button in header to show the blocks.
Diffstat (limited to 'source/blender/src/header_filesel.c')
-rw-r--r--source/blender/src/header_filesel.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/src/header_filesel.c b/source/blender/src/header_filesel.c
index 4333298934a..f274b012726 100644
--- a/source/blender/src/header_filesel.c
+++ b/source/blender/src/header_filesel.c
@@ -137,7 +137,9 @@ void file_buttons(void)
uiDefIconButS(block, ICONTOG|BIT|0, B_SORTFILELIST, ICON_LONGDISPLAY,xco+=XIC,0,XIC,YIC, &sfile->flag, 0, 0, 0, 0, "Toggles long info");
uiDefIconButS(block, TOG|BIT|3, B_RELOADDIR, ICON_GHOST,xco+=XIC,0,XIC,YIC, &sfile->flag, 0, 0, 0, 0, "Hides dot files");
- xco+=XIC+10;
+ uiDefButBitS(block, TOG, FILE_STRINGCODE, 0, "Relative Paths", xco+=XIC,0,90,YIC, &sfile->flag, 0, 0, 0, 0, "Makes sure returned paths are relative to the current .blend file");
+
+ xco+=90;
if(sfile->type==FILE_LOADLIB) {
uiDefButS(block, TOGN|BIT|2, B_REDR, "Append", xco+=XIC,0,100,YIC, &sfile->flag, 0, 0, 0, 0, "Copies selected data into current project");