Commit 5475e805 authored by Stéphane Albert's avatar Stéphane Albert

ENH: Optimized ImageViewRenderer::UpdatePixelInfo() when effects are disabled.

parent eb231e06
......@@ -1106,6 +1106,9 @@ ImageViewRenderer
assert( !m_GlView.IsNull() );
if( !m_EffectsEnabled )
return;
for( PixelInfo::Vector::const_iterator it( pixels.begin() );
it != pixels.end();
++ it )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment