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>2010-03-09 19:57:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-03-09 19:57:24 +0300
commit26272d4c58de0b80056092de190bb35b44532f2e (patch)
treedb7956f985c020b523fe786fe99e06d851532a0b /source/blender/editors/space_file/file_ops.c
parent1b28081102899654df629bafa876e19e629e8d7c (diff)
added relative path option for image load and save, relative path option from the userprefs wasnt being used.
Diffstat (limited to 'source/blender/editors/space_file/file_ops.c')
-rw-r--r--source/blender/editors/space_file/file_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c
index 312118491be..175220f6690 100644
--- a/source/blender/editors/space_file/file_ops.c
+++ b/source/blender/editors/space_file/file_ops.c
@@ -590,8 +590,8 @@ int file_exec(bContext *C, wmOperator *exec_op)
RNA_string_set(op->ptr, "directory", name);
strcat(name, sfile->params->file); // XXX unsafe
- if(RNA_struct_find_property(op->ptr, "relative_paths"))
- if(RNA_boolean_get(op->ptr, "relative_paths"))
+ if(RNA_struct_find_property(op->ptr, "relative_path"))
+ if(RNA_boolean_get(op->ptr, "relative_path"))
BLI_makestringcode(G.sce, name);
RNA_string_set(op->ptr, "path", name);