Commit 5e89880c authored by brugger's avatar brugger

I applied a fix that corrected a bug in depth cueing that was provided

by Jean Favre. This resolves #1285.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@19863 18c085ea-50e0-402c-830e-de6fd14e8384
parent d520d217
......@@ -599,6 +599,10 @@ avtSoftwareShader::AddShadows(avtImage_p light_image, avtImage_p current_image,
// Jeremy Meredith, Fri Apr 30 14:23:19 EDT 2010
// Added automatic mode.
//
// Eric Brugger, Tue Dec 18 16:22:42 PST 2012
// Applied a fix that corrected an indexing error in the setting of start
// and end that was provided by Jean Favre.
//
// ****************************************************************************
void
avtSoftwareShader::AddDepthCueing(avtImage_p current_image,
......@@ -608,8 +612,8 @@ avtSoftwareShader::AddDepthCueing(avtImage_p current_image,
const double end_[3],
unsigned char cuecolor[3])
{
double start[3] = {start_[0],start_[2],start_[2]};
double end[3] = {end_[0], end_[2], end_[2]};
double start[3] = {start_[0],start_[1],start_[2]};
double end[3] = {end_[0], end_[1], end_[2]};
if (autoExtents)
{
double fudge = 0.6;
......
......@@ -41,6 +41,7 @@ list of changes in release 2.6.</p>
<li>Several annotation types were not showing the proper time value in movies containing transparency when the parallel version of VisIt's compute engine was used. The <i>time slider</i>, <i>text</i>, and <i>3D text</i> annotations were afflicted.</li>
<li>A bug was corrected with the Xdmf reader where it would incorrectly report that vector variables defined on multi block meshes were invalid.</li>
<li>The Xdmf reader was enhanced so that it supports reading the BaseIndex and GhostOffsets properties for structured grids.</li>
<li>A bug caused by an indexing error was corrected in depth cueing. Thanks Jean Favre for the fix.</li>
</ul>
<p><b><font size="4">Enhancements in version 2.6.1</font></b></p>
......
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