Skip to content

Commit

Permalink
Merge pull request #112 from sintefmath/cdyk_fix_bbox_update
Browse files Browse the repository at this point in the history
Fixed update boundingbox bug.
  • Loading branch information
cdyk committed Jun 12, 2014
2 parents 18594a9 + 52e920b commit f5a0178
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions js/shared/DSRV.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,9 @@ function DSRV( params ) {
if( this.m_bbox_key ) {
this.m_model.addLocalListener( this.m_bbox_key,
tinia.hitch( this,
function( key, viewer )
function( key, bb )
{
var bbox_str = viewer.getElementValue( key );
this.setBoundingBox( bbox_str );
this.setBoundingBox( bb );
} ) );
this.setBoundingBox( this.m_model.getElementValue( this.m_bbox_key ) );
}
Expand Down

0 comments on commit f5a0178

Please sign in to comment.