Skip to content

Commit

Permalink
Fix viz repo wrt core repo changes. (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
prmukherj authored Aug 1, 2023
1 parent 1c5fa62 commit 2543cea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ansys/fluent/visualization/post_data_extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _fetch_surface_data(self, obj, *args, **kwargs):
surface_api = obj._api_helper.surface_api
surface_api.create_surface_on_server()
dummy_object = "dummy_object"
post_session = obj._get_top_most_parent()
post_session = obj.get_root()
if (
obj.definition.type() == "iso-surface"
and obj.definition.iso_surface.rendering() == "contour"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ def _fetch_surface(self, obj):
surface_api = obj._api_helper.surface_api
surface_api.create_surface_on_server()
dummy_object = "dummy_object"
post_session = obj._get_top_most_parent()
post_session = obj.get_root()
if (
obj.definition.type() == "iso-surface"
and obj.definition.iso_surface.rendering() == "contour"
Expand All @@ -405,7 +405,7 @@ def _fetch_surface(self, obj):

def _display_surface(self, obj, plotter: Union[BackgroundPlotter, pv.Plotter]):
dummy_object = "dummy_object"
post_session = obj._get_top_most_parent()
post_session = obj.get_root()
if (
obj.definition.type() == "iso-surface"
and obj.definition.iso_surface.rendering() == "contour"
Expand Down

0 comments on commit 2543cea

Please sign in to comment.