Hi Pavel, I am curious how you discovered this bug. Were you just browsing through the file or do you have code that is affected by this? If so would you mind sharing it? I would like to make a test out of it if possible.<br>

<br><div class="gmail_quote">On Wed, Jul 14, 2010 at 9:26 AM, Dave Partyka <span dir="ltr"><<a href="mailto:dave.partyka@kitware.com">dave.partyka@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Those lines are definitely covered. Though it appears the only are used when the extents haven't been set yet.<div><br></div><div><a href="http://www.cdash.org/CDash/viewCoverageFile.php?buildid=663956&fileid=10980615" target="_blank">http://www.cdash.org/CDash/viewCoverageFile.php?buildid=663956&fileid=10980615</a><div>

<div></div><div class="h5"><br>
<br><div class="gmail_quote">On Wed, Jul 14, 2010 at 9:18 AM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com" target="_blank">david.cole@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


This sort of error looks like it should produce some sort of seriously incorrect results.<div><br></div><div>Do we not have a test that covers this code? Is the coverage for the lines in question "0" or do we just not have a *good* test that runs through that code...?</div>



<div><br></div><div>I would think vtkImageActor is a heavily used class.</div><div><br></div><div><br>?</div><div><div></div><div><div><br></div><div><br><div class="gmail_quote">On Wed, Jul 14, 2010 at 8:51 AM, Dave Partyka <span dir="ltr"><<a href="mailto:dave.partyka@kitware.com" target="_blank">dave.partyka@kitware.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for the fix! I have just committed it.<br><br><div class="gmail_quote"><div><div></div><div>On Wed, Jul 14, 2010 at 4:19 AM, Pokutnev, Pavel (GE EntSol, SensInsp) <span dir="ltr"><<a href="mailto:Pavel.Pokutnev@ge.com" target="_blank">Pavel.Pokutnev@ge.com</a>></span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>



<div>
<div><font size="2" face="Arial"><span>Hello 
vtk-devs,</span></font></div>
<div><font size="2" face="Arial"><span></span></font> </div>
<div><font size="2" face="Arial"><span>it looks like there 
is a copy & paste bug in vtkImageActor line 250 and 
293:</span></font></div>
<div><font size="2" face="Arial"><span></span></font> </div>
<div><font size="2" face="Arial"><span>The 
line:</span></font></div>
<div><font size="2" face="Arial"><span>  
this->ComputedDisplayExtent[5] = wExtent[4];</span></font></div>
<div><font size="2" face="Arial"><span>should 
be:</span></font></div>
<div><font size="2" face="Arial"><span>  
this->ComputedDisplayExtent[5] = wExtent[5];</span></font></div>
<div><font size="2" face="Arial"><span></span></font> </div>
<div><font size="2" face="Arial"><span>Best 
regards!</span></font></div>
<div><font size="2" face="Arial"><span></span></font> </div>
<div><font size="2" face="Arial"></font> </div><font size="2" face="Arial">
<div align="left"><br></div></font>
<div><font size="2" face="Arial"></font> </div></div>
<br></div></div>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br>