Commit 49c95132 authored by amandaghassaei's avatar amandaghassaei

allow same file to be imported twice

parent ba1072d7
......@@ -36,6 +36,7 @@ function initImporter(globals){
var name = extension[0];
extension = extension[extension.length - 1];
var reader = new FileReader();
$(e.target).val("");
if (extension == "txt") {
reader.onload = function () {
......
......@@ -436,7 +436,7 @@ function initPattern(globals){
if (_weededVertices.length > 0){
console.log(_weededVertices);
globals.warn("Some vertices are not fully connected, try increasing vertex merge tolerance");
// return;
return;
}
removeCombinedFromSet(combined, outlines);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment