* 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.
This commit is contained in:
2008-05-30 01:59:15 +00:00
parent 6af06ecdd2
commit da2d4904af
3 changed files with 23 additions and 7 deletions

View File

@@ -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