summaryrefslogtreecommitdiffstats
path: root/src/progs/ingenuity/LoadPatchWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/progs/ingenuity/LoadPatchWindow.cpp')
-rw-r--r--src/progs/ingenuity/LoadPatchWindow.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/progs/ingenuity/LoadPatchWindow.cpp b/src/progs/ingenuity/LoadPatchWindow.cpp
index 5e740aac..1fa5c2ba 100644
--- a/src/progs/ingenuity/LoadPatchWindow.cpp
+++ b/src/progs/ingenuity/LoadPatchWindow.cpp
@@ -118,13 +118,14 @@ LoadPatchWindow::ok_clicked()
if (m_replace)
App::instance().engine()->clear_patch(m_patch->path());
- CountedPtr<PatchModel> pm(new PatchModel(m_patch->path(), poly));
- pm->filename(get_filename());
- pm->set_metadata("filename", Atom(get_filename().c_str()));
+ cerr << "FIXME: load patch" << endl;
+ //CountedPtr<PatchModel> pm(new PatchModel(m_patch->path(), poly));
+ //pm->filename(get_filename());
+ //pm->set_metadata("filename", Atom(get_filename().c_str()));
// FIXME: necessary?
//pm->set_parent(m_patch->parent());
//App::instance().engine()->push_added_patch(pm);
- App::instance().loader()->load_patch(pm, true, true);
+ //App::instance().loader()->load_patch(pm, true, true);
hide();
}