Commit 49318084 authored by brugger's avatar brugger

I corrected a bug in the WriteScript python function where GetCurveView

was incorrectly used instead of GetViewCurve. The fix was provided by
Jean Favre. This resolves #1290.



git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@19939 18c085ea-50e0-402c-830e-de6fd14e8384
parent 275d0425
......@@ -43,6 +43,7 @@ list of changes in release 2.6.</p>
<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>
<li>'import visit' from an installed python on Windows is again operational.</li>
<li>An error was corrected in the WriteScript python function where GetCurveView was incorrectly used instead of GetViewCurve. Thanks Jean Favre for the fix.</li>
</ul>
<p><b><font size="4">Enhancements in version 2.6.1</font></b></p>
......
......@@ -44,6 +44,9 @@
# Creation: Wed Mar 7 16:46:53 PST 2012
#
# Modifications:
# Eric Brugger, Fri Jan 4 10:17:07 PST 2013
# I replaced a call to GetCurveView with GetViewCurve, since the former
# was incorrect. This fix was provided by Jean Favre.
#
###############################################################################
......@@ -394,7 +397,7 @@ Example:
# Set the view
f.write('# Set the view\n')
if visit.GetWindowInformation().viewDimension == 1:
view = visit.GetCurveView()
view = visit.GetViewCurve()
elif visit.GetWindowInformation().viewDimension == 2:
view = visit.GetView2D()
else:
......
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