This commit fixes two related issues:
authorNathan Letwory <nathan@letworyinteractive.com>
Fri, 20 May 2005 12:18:11 +0000 (12:18 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Fri, 20 May 2005 12:18:11 +0000 (12:18 +0000)
commit1071d4a16e08bda7a6bfbcb02e278510b3cd1e44
tree9e23634d8e5a829502e2a9f9dd900a1e6a6fda82
parentf8ae055f4b0f62e55866cf89e8ea40d0a95141c3
This commit fixes two related issues:
1:
* when a blendfile gets loaded, paths are corrected with OS specific slashes (see blender.c)
* made available BLI_char_switch(char *string, char from, char to)
* made available BLI_clean(char *string);. This function should be called whenever you're doing path stuff, so paths are correctly saved, and thus avoiding other path functions stopping to work

2:
* relative paths work now in sequencer too (due to slash mess that didn't work all too well).
source/blender/blenkernel/intern/blender.c
source/blender/blenkernel/intern/image.c
source/blender/blenlib/BLI_blenlib.h
source/blender/blenlib/intern/util.c
source/blender/src/editseq.c