diff --git a/build/RuleApplyer.ts b/build/RuleApplyer.ts index bba6e65..4ac0d91 100644 --- a/build/RuleApplyer.ts +++ b/build/RuleApplyer.ts @@ -269,9 +269,10 @@ class RuleInterpreter var shapeFound : boolean = false; if(this.ruleFile.Rules[i].Shape != null) { + var thisShape = this.ruleFile.Rules[i].Shape.toLowerCase(); for(var g=0;g { var objUpload = document.getElementById("objfile"); var converterOne; var useME = true; - objUpload.addEventListener("input", function () { + objUpload.addEventListener("change", function () { + console.log("I am here"); var OBJFile = objUpload.files[0]; useME = false; converterOne = new ObjToArray_1.fileReader(OBJFile, doRest, [demo_canvas, converterOne_canvas, ruleApplyer, arrayToMesh]);