removed null method Drawer.prototype.idle

This commit is contained in:
thatcher 2011-12-27 18:20:45 -05:00
parent 8ba072a1a9
commit d145c129a0
3 changed files with 2 additions and 12 deletions

View File

@ -2052,9 +2052,7 @@ function updateOnce( viewer ) {
} else if ( viewer._forceRedraw || viewer.drawer.needsUpdate() ) { } else if ( viewer._forceRedraw || viewer.drawer.needsUpdate() ) {
viewer.drawer.update(); viewer.drawer.update();
viewer._forceRedraw = false; viewer._forceRedraw = false;
} else { }
viewer.drawer.idle();
}
if ( viewer._animating && !animated ) { if ( viewer._animating && !animated ) {
viewer.raiseEvent( "animationfinish" ); viewer.raiseEvent( "animationfinish" );
@ -3902,9 +3900,6 @@ $.Drawer.prototype = {
this._profiler.endUpdate(); this._profiler.endUpdate();
}, },
idle: function() {
},
loadImage: function(src, callback) { loadImage: function(src, callback) {
var _this = this, var _this = this,
loading = false, loading = false,

View File

@ -583,9 +583,6 @@ $.Drawer.prototype = {
this._profiler.endUpdate(); this._profiler.endUpdate();
}, },
idle: function() {
},
loadImage: function(src, callback) { loadImage: function(src, callback) {
var _this = this, var _this = this,
loading = false, loading = false,

View File

@ -778,9 +778,7 @@ function updateOnce( viewer ) {
} else if ( viewer._forceRedraw || viewer.drawer.needsUpdate() ) { } else if ( viewer._forceRedraw || viewer.drawer.needsUpdate() ) {
viewer.drawer.update(); viewer.drawer.update();
viewer._forceRedraw = false; viewer._forceRedraw = false;
} else { }
viewer.drawer.idle();
}
if ( viewer._animating && !animated ) { if ( viewer._animating && !animated ) {
viewer.raiseEvent( "animationfinish" ); viewer.raiseEvent( "animationfinish" );