diff --git a/DataSpec/DNAMP1/PATH.cpp b/DataSpec/DNAMP1/PATH.cpp index a9b68cafe..f520a81d4 100644 --- a/DataSpec/DNAMP1/PATH.cpp +++ b/DataSpec/DNAMP1/PATH.cpp @@ -44,10 +44,6 @@ void PATH::sendToBlender(hecl::blender::Connection& conn, std::string_view entry os << "bm.verts.ensure_lookup_table()\n"; - std::unordered_set uset; - FILE* fp = fopen("/Users/jacko/Desktop/PATHMats.txt", "a"); - fprintf(fp, "%s\n", conn.getBlendPath().getRelativePathUTF8().data()); - for (const Region& r : regions) { os << "tri_verts = []\n"; @@ -68,15 +64,8 @@ void PATH::sendToBlender(hecl::blender::Connection& conn, std::string_view entry "hobj.layers[1] = True\n" "bpy.context.scene.objects.link(hobj)\n" "\n", r.flags, centroid.v[0], centroid.v[1], centroid.v[2] + r.height); - - if (uset.find(r.flags) == uset.end()) - { - fprintf(fp, "%08X\n", r.flags); - } } - fclose(fp); - os << "path_mesh = bpy.data.meshes.new('PATH')\n" "bm.to_mesh(path_mesh)\n" "path_mesh_obj = bpy.data.objects.new(path_mesh.name, path_mesh)\n" diff --git a/hecl b/hecl index c6ebab72a..8e2c8ed29 160000 --- a/hecl +++ b/hecl @@ -1 +1 @@ -Subproject commit c6ebab72a5738c616cd18b7fbe59f3f802b6fdd8 +Subproject commit 8e2c8ed29174aa184d23edd24925062920b25e2b