diff --git a/hecl/lib/Blender/FindBlender.cpp b/hecl/lib/Blender/FindBlender.cpp index f2aec9e2e..a3c59f114 100644 --- a/hecl/lib/Blender/FindBlender.cpp +++ b/hecl/lib/Blender/FindBlender.cpp @@ -93,7 +93,7 @@ std::optional FindBlender(int& major, int& minor) { #else steamBlender += "/blender"; #endif - if (RegFileExists(steamBlender->c_str())) { + if (RegFileExists(steamBlender.c_str())) { blenderBin = std::move(steamBlender); } else if (RegFileExists(DEFAULT_BLENDER_BIN)) { blenderBin = DEFAULT_BLENDER_BIN;