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>2005-12-14 16:21:32 +0300
committerTon Roosendaal <ton@blender.org>2005-12-14 16:21:32 +0300
commitf88a0a6efdd1b32b67fe7f1f7fe533426e62e08c (patch)
tree752a95449c943e7de03147a2cf8af4b6614b4e59 /source/blender/src/drawimasel.c
parentcb57d03e9791527abbf7ce3c522899ea0e95e7e2 (diff)
Orange: more relative path code cleanup. Introduced a new call in the
blenlib to correctly convert a relative path to a clean new path: BLI_cleanup_dir(const char *relabase, char *name); Only works for directories now.
Diffstat (limited to 'source/blender/src/drawimasel.c')
-rw-r--r--source/blender/src/drawimasel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawimasel.c b/source/blender/src/drawimasel.c
index f8d358a9051..519f0927219 100644
--- a/source/blender/src/drawimasel.c
+++ b/source/blender/src/drawimasel.c
@@ -865,7 +865,7 @@ void drawimaselspace(ScrArea *sa, void *spacedata)
myortho2(-0.375, (float)(curarea->winx)-0.375, -0.375, (float)(curarea->winy)-0.375);
if (simasel->fase == 0){
- checkdir(simasel->dir);
+ BLI_cleanup_dir(G.sce, simasel->dir);
clear_ima_dir(simasel);
}