Skip to content
Snippets Groups Projects
Commit b8b720b0 authored by Amanda Ghassaei's avatar Amanda Ghassaei
Browse files

fill geometry filename

parent f4a55f75
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,7 @@ ImportMenuView = Backbone.View.extend({
_removeMesh: function(e){
e.preventDefault();
this.model.remove();
this.model.set("filename", this.model.defaults.filename);
},
render: function(){
......
......@@ -62,7 +62,6 @@ FillGeometry = Backbone.Model.extend({
if (!this.get("mesh")) return;
window.three.sceneRemove(this.get("mesh"));
this.set("mesh", null);
this.set("filename", this.defaults.filename);
window.three.render();
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment