Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange interaction with Subset plot atts and time-varying SIL/MetaData datasets. #20180

Open
biagas opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood

Comments

@biagas
Copy link
Contributor

biagas commented Jan 8, 2025

Describe the bug

While creating a new test, I noticed that changing Subset Plot attributes multicolor objects (changing some to semi-transparent), affected subsequent Subset plots in the same test file.

Here's a reproducer that can be used in the regression infrastructure, the second test should be fully opaque but is not.
Attempting same steps in GUI does not reproduce.

If SetTreatAllDBsAsTimeVarying(1) is commented out, then the second plot is fully opaque as expected.
So the problem seems tied to having both a time-varying SIL and time-varying MetaData.

SetTreatAllDBsAsTimeVarying(1)

OpenDatabase(silo_data_path("hist_ucd3d_* database"))
AddPlot("Subset", "domains(mesh1)")
s = SubsetAttributes()
s.SetMultiColor(0,(255,0,0,68))
s.SetMultiColor(1,(0,255,0,68))
s.SetMultiColor(2,(0,0,255,68))
s.SetMultiColor(3,(0,255,255,68))
SetPlotOptions(s)
DrawPlots()

v = GetView3D()
v.viewNormal=(0,0,-1)
SetView3D(v)

Test("tv_silo_01")

# this doesn't help:
ResetPlotOptions("Subset")

DeleteAllPlots()

# next two commands aren't really necessary in order to reproduce, but duplicate what I was originally attempting
CloseDatabase(silo_data_path("hist_ucd3d_* database"))

OpenDatabase(silo_data_path("hist_ucd3d_* database"))

# this plot should be fully opaque
AddPlot("Subset", "domains(mesh1)")
DrawPlots()
Test("tv_silo_02")

DeleteAllPlots()
CloseDatabase(silo_data_path("hist_ucd3d_* database"))

Helpful additional information
Did VisIt crash:

  • Did you get wrong results: YES

Expected behavior

Changing Subset plot multicolor attributes should not affect future Subset plots.

Desktop

  • OS and version: Can reproduce on Linux/Windows
  • VisIt Version: 3.4.2
@biagas biagas added bug Something isn't working likelihood medium Neither low nor high likelihood impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) labels Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working impact medium Productivity partially degraded (not easily mitigated bug) or improved (enhancement) likelihood medium Neither low nor high likelihood
Projects
None yet
Development

No branches or pull requests

1 participant