Skip to content

Commit

Permalink
Merge branch 'NP-327_emscripten_communication' of github.com:Ultimake…
Browse files Browse the repository at this point in the history
…r/CuraEngine into NP-327_emscripten_communication
  • Loading branch information
0x5844 committed Aug 22, 2024
2 parents b9d5ef6 + e5b17f9 commit 030ee68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/communication/EmscriptenCommunication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ EmscriptenCommunication::EmscriptenCommunication(const std::vector<std::string>&

void EmscriptenCommunication::sendGCodePrefix(const std::string& prefix) const
{
emscripten_run_script(fmt::format("globalThis[\"{}\"](\"{}\")", gcode_prefix_handler_, prefix).c_str());
emscripten_run_script(fmt::format("globalThis[\"{}\"](\"{}\")", gcode_header_handler_, prefix).c_str());
}

void EmscriptenCommunication::sendProgress(double progress) const
Expand Down

0 comments on commit 030ee68

Please sign in to comment.