Permalink
Browse files

Fixes background ui

  • Loading branch information...
1 parent 8b0d19d commit 285ea2ea1559d529bdeb9a79cad2e5f506851ac1 @stephomi committed Jan 20, 2014
Showing with 2 additions and 0 deletions.
  1. +1 −0 gui/gui.js
  2. +1 −0 sculptgl.js
View
@@ -337,6 +337,7 @@ Gui.prototype = {
var gl = bg.gl_;
gl.deleteTexture(bg.backgroundLoc_);
this.sculptgl_.background_ = null;
+ this.sculptgl_.render();
}
},
View
@@ -600,6 +600,7 @@ SculptGL.prototype = {
bg.src = evt.target.result;
self.background_.loadBackgroundTexture(bg);
self.render();
+ $('#backgroundopen').replaceWith($('#backgroundopen').clone(true));
};
reader.readAsDataURL(file);
},

0 comments on commit 285ea2e

Please sign in to comment.