client/js/renderer/scene.js
changeset 525 03aa989092bb
parent 524 904effa4b6d7
child 534 c25e7c9e26a0
equal deleted inserted replaced
524:904effa4b6d7 525:03aa989092bb
  1207                 if (!this.renkan.options.default_view){
  1207                 if (!this.renkan.options.default_view){
  1208                     this.view.autoScale();
  1208                     this.view.autoScale();
  1209                 }
  1209                 }
  1210                 return;
  1210                 return;
  1211             }
  1211             }
  1212             if (typeof _params.idView !== 'undefined'){
  1212             if (typeof _params.viewIndex !== 'undefined'){
  1213                 this.view = this.addRepresentation("View", this.renkan.project.get("views").at(this.validViewIndex(_params.idView)));
  1213                 this.view = this.addRepresentation("View", this.renkan.project.get("views").at(this.validViewIndex(_params.viewIndex)));
  1214                 if (!this.renkan.options.default_view){
  1214                 if (!this.renkan.options.default_view){
  1215                     this.view.autoScale();
  1215                     this.view.autoScale();
  1216                 }
  1216                 }
  1217             }
  1217             }
  1218             if (typeof _params.view !== 'undefined' && _params.view.split(",").length >= 3){
  1218             if (typeof _params.view !== 'undefined' && _params.view.split(",").length >= 3){