Commit 7d9dd389 authored by bonnell's avatar bonnell

Fix bug with Line2D annotation where adding arrows caused line to disappear. Resolves #1724.

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@26739 18c085ea-50e0-402c-830e-de6fd14e8384
parent d4035cc9
......@@ -471,6 +471,10 @@ avtLine2DColleague::ShouldBeAddedToRenderer() const
// Brad Whitlock, Tue Jun 28 15:38:30 PST 2005
// I made it use updateArrows.
//
// Kathleen Biagas, Tue Jun 30 17:30:43 PDT 2015
// Call update on allData, fixes bug where applying arrow causes line to
// disappear.
//
// ****************************************************************************
void
......@@ -533,6 +537,7 @@ avtLine2DColleague::SetOptions(const AnnotationObject &annot)
if(allData)
{
allData->AddInputData(lineData);
allData->Update();
mapper->SetInputData(allData->GetOutput());
}
else mapper->SetInputData(lineData);
......
......@@ -104,7 +104,7 @@ enhancements and bug-fixes that were added to this release.</p>
<a name="Bugs_fixed"></a>
<p><b><font size="4">Other bugs fixed in version 2.10</font></b></p>
<ul>
<li></li>
<li>2D Line annotation has been fixed so that adding arrowheads does not make the line disappear.</li>
<li></li>
<li></li>
<li></li>
......
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