Adjusted PV version number check.

这个提交包含在:
Craig Warren
2022-01-06 20:58:27 +00:00
父节点 6d10e1f2e3
当前提交 5ef87d4a29

查看文件

@@ -25,10 +25,10 @@ from paraview.simple import *
# Read Paraview version number to set threshold filter method
pvv = GetParaViewVersion()
if pvv.major == 5 and pvv.minor > 9:
new_thres = True
else:
if pvv.major == 5 and pvv.minor < 10:
new_thres = False
else:
new_thres = True
def threshold_filt(input, lt, ut, scalars):
"""Create threshold filter according to Paraview version.