Permalink
Browse files

fix #1

1 parent 73d8c12 commit c4e5ce9c88f0a661f5cf4914238fba24228be78f @lautr3k committed Apr 8, 2016
Showing with 13 additions and 0 deletions.
  1. +13 −0 js/main.js
View
@@ -838,10 +838,23 @@ function loadGeometry(geometry) {
} }
} }
+// Haaaaaaaaaaaaaaaaaa!!!!
+function ultraMegaDirtyFix() {
+ $transformBody.find('#transform-x').val(1.1);
+ $transformBody.find('#transform-y').val(1.1);
+ $transformBody.find('#transform-z').val(1.1);
+ updateTransformValues();
+ $transformBody.find('#transform-x').val(1);
+ $transformBody.find('#transform-y').val(1);
+ $transformBody.find('#transform-z').val(1);
+ updateTransformValues();
+}
+
// On Geometry loaded // On Geometry loaded
loader.onGeometry = function(geometry) { loader.onGeometry = function(geometry) {
resetTransformValues(); resetTransformValues();
loadGeometry(geometry); loadGeometry(geometry);
+ ultraMegaDirtyFix();
}; };
// On loading error // On loading error

0 comments on commit c4e5ce9

Please sign in to comment.