diff options
Diffstat (limited to 'o3d/import')
-rw-r--r-- | o3d/import/cross/collada.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/import/cross/collada.cc b/o3d/import/cross/collada.cc index 6379274..c9a6537a 100644 --- a/o3d/import/cross/collada.cc +++ b/o3d/import/cross/collada.cc @@ -1954,7 +1954,7 @@ Effect* Collada::BuildEffect(FCDocument* doc, FCDEffect* collada_effect) { String file_name = "embedded-shader-" + IntToString(unique_filename_counter_) + ".fx"; file_path = FilePath(FILE_PATH_LITERAL("shaders")); - file_path.Append(UTF8ToFilePath(file_name)); + file_path = file_path.Append(UTF8ToFilePath(file_name)); } else if (code->GetType() == FCDEffectCode::INCLUDE) { fstring path = code->GetFilename(); file_path = WideToFilePath(path.c_str()); |