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>2008-05-30 05:59:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-05-30 05:59:15 +0400
commitda2d4904af51507fc211a0101f8e33306135e76a (patch)
tree9d1ebfecb33182bd90b14f2c811f487bcfc0bba4 /source/blender/blenlib
parent6af06ecdd2b748507e3dad41055fdf41253b7493 (diff)
bugfix
* scene.object.context and scene.object.selected had broken get_item funcs so scene.object.context[i] returned the wrong object. * aligning the view to an object (numpad*key), did not disable the ortho view grid. * long standing problem where opening a relative image would fail with no message. BLI_convertstringcode was returning a path with /../../'s that need to be cleaned before the path could be read, the path was also invalid from unix shell so its not a blender path reading problem.
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/util.c b/source/blender/blenlib/intern/util.c
index c85849b5ed4..3610813f2da 100644
--- a/source/blender/blenlib/intern/util.c
+++ b/source/blender/blenlib/intern/util.c
@@ -1166,6 +1166,7 @@ int BLI_convertstringcode(char *path, const char *basepath)
MEM_freeN(filepart);
}
+ BLI_cleanup_file(NULL, tmp);
strcpy(path, tmp);
#ifdef WIN32