diff -r 6fd067e988d7 -r 0ce3dcdf24f7 client/js/renderer/scene.js --- a/client/js/renderer/scene.js Tue Sep 22 15:35:43 2015 +0200 +++ b/client/js/renderer/scene.js Thu Sep 24 13:31:13 2015 +0200 @@ -330,7 +330,11 @@ }); this.renkan.project.on("loaded", function(){ - Backbone.history.start(); + if (_this.renkan.options.url_parameters){ + Backbone.history.start(); + } else { + _this.fixSize(); + } _this.redrawActive = true; _thRedraw(); }); @@ -490,12 +494,9 @@ _(Scene.prototype).extend({ fixSize: function() { if(typeof this.view === 'undefined') { - this.view = this.addRepresentation("View", this.renkan.project.get("views").last()); - this.view.setScale(view.get("zoom_level"), new paper.Point(view.get("offset"))); + this.view = this.addRepresentation("View", this.renkan.project.get("views").first()); } - else{ - this.view.autoScale(); - } + this.view.autoScale(); }, drawSector: function(_repr, _inR, _outR, _startAngle, _endAngle, _padding, _imgname, _caption) { var _options = this.renkan.options, @@ -1232,7 +1233,7 @@ } else{ this.view = this.addRepresentation("View", null); this.view.params = params; - this.view.init(); + this.view.initWithParams(); } } if (!this.view){