diff --git a/compile_commands.json b/compile_commands.json index 21dbdd3..5e95284 120000 --- a/compile_commands.json +++ b/compile_commands.json @@ -1 +1 @@ -/home/anon/sda/Personal/Repos/anm2ed/build-dumpcheck/compile_commands.json \ No newline at end of file +/home/anon/sda/Personal/Repos/anm2ed/build/compile_commands.json \ No newline at end of file diff --git a/src/anm2/anm2.cpp b/src/anm2/anm2.cpp index 814e771..8feeec7 100644 --- a/src/anm2/anm2.cpp +++ b/src/anm2/anm2.cpp @@ -65,12 +65,6 @@ namespace anm2ed::anm2 XMLDocument document; document.InsertFirstChild(to_element(document)); - if (!std::filesystem::exists(path)) - { - if (errorString) *errorString = localize.get(ERROR_FILE_NOT_FOUND); - return false; - } - File file(path, "wb"); if (!file) { diff --git a/src/anm2/frame.h b/src/anm2/frame.h index 277f100..9d1ffad 100644 --- a/src/anm2/frame.h +++ b/src/anm2/frame.h @@ -26,7 +26,7 @@ namespace anm2ed::anm2 glm::vec2 crop{}; glm::vec2 position{}; glm::vec2 size{}; - glm::vec2 scale{}; + glm::vec2 scale{100, 100}; glm::vec3 colorOffset{}; glm::vec4 tint{types::color::WHITE};