tiny bug fix

This commit is contained in:
Joost Nieuwenhuijse 2012-02-13 18:22:22 +01:00
parent 8b51bd6b68
commit 29f3ccf3d1

View file

@ -524,10 +524,10 @@ OpenJsCad.Processor.prototype = {
if(this.hasstl) if(this.hasstl)
{ {
this.hasstl = false; this.hasstl = false;
if(that.stlDirEntry) if(this.stlDirEntry)
{ {
that.stlDirEntry.removeRecursively(); this.stlDirEntry.removeRecursively();
that.stlDirEntry=null; this.stlDirEntry=null;
} }
this.enableItems(); this.enableItems();
if(this.onchange) this.onchange(); if(this.onchange) this.onchange();