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>2020-03-06 16:13:03 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-03-06 16:19:01 +0300
commitb839a5d0765bd449fb4f3a58ed683ec0233a8acf (patch)
tree786410ae468b9ecb2f8c3c37dc4b39f0167d7f5d /source/blender/freestyle/intern/application
parent0b16b63d87e8a217cd73ec3220b4cb9af69ac355 (diff)
Cleanup: remove BLI_cleanup_file
In practice, references to files rarely have trailing slashes (by accident). Remove this function in favor of BLI_cleanup_path.
Diffstat (limited to 'source/blender/freestyle/intern/application')
-rw-r--r--source/blender/freestyle/intern/application/Controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/application/Controller.cpp b/source/blender/freestyle/intern/application/Controller.cpp
index ef05d0a3a8f..c852cda6c8c 100644
--- a/source/blender/freestyle/intern/application/Controller.cpp
+++ b/source/blender/freestyle/intern/application/Controller.cpp
@@ -347,7 +347,7 @@ int Controller::LoadMesh(Render *re, ViewLayer *view_layer, Depsgraph *depsgraph
soc string basename((const char *)qfi.fileName().toAscii().data());
char cleaned[FILE_MAX];
BLI_strncpy(cleaned, iFileName, FILE_MAX);
- BLI_cleanup_file(NULL, cleaned);
+ BLI_cleanup_path(NULL, cleaned);
string basename = string(cleaned);
#endif