Loading src/csg/parser.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -589,9 +589,10 @@ template <> struct action<polygon> { std::vector<std::vector<double>> paths = {{}}; if (std::holds_alternative<std::string>(curr_attr["paths"])) { auto paths_str = std::get<std::string>(curr_attr["paths"]; auto paths_str = std::get<std::string>(curr_attr["paths"]); if (paths_str != UNDEFINED_STR) throw std::runtime_error("Error parsing polygon. paths = " + paths_str + " not recognized" ); throw std::runtime_error("Error parsing polygon. paths = " + paths_str + " not recognized"); } else { paths = std::get<std::vector<std::vector<double>>>(curr_attr["paths"]); } Loading Loading
src/csg/parser.cpp +3 −2 Original line number Diff line number Diff line Loading @@ -589,9 +589,10 @@ template <> struct action<polygon> { std::vector<std::vector<double>> paths = {{}}; if (std::holds_alternative<std::string>(curr_attr["paths"])) { auto paths_str = std::get<std::string>(curr_attr["paths"]; auto paths_str = std::get<std::string>(curr_attr["paths"]); if (paths_str != UNDEFINED_STR) throw std::runtime_error("Error parsing polygon. paths = " + paths_str + " not recognized" ); throw std::runtime_error("Error parsing polygon. paths = " + paths_str + " not recognized"); } else { paths = std::get<std::vector<std::vector<double>>>(curr_attr["paths"]); } Loading