Skip to content

Commit b9d7aa5

Browse files
Bump version 0.2.4
1 parent 5a8ec1a commit b9d7aa5

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

doc/changelog.d/73.fixed.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fix: Bug in MeshObject clipping

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
44

55
[project]
66
name = "ansys-tools-visualization-interface"
7-
version = "0.2.3"
7+
version = "0.2.4"
88
description = "A Python visualization interface for PyAnsys libraries"
99
readme = "README.rst"
1010
requires-python = ">=3.9,<4"

src/ansys/tools/visualization_interface/backends/pyvista/pyvista_interface.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def plot_meshobject(self, object: MeshObjectPlot, **plotting_options):
175175
if "clipping_plane" in plotting_options:
176176
dataset = self.clip(dataset, plotting_options["clipping_plane"])
177177
plotting_options.pop("clipping_plane", None)
178-
actor = self.scene.add_mesh(object.mesh, **plotting_options)
178+
actor = self.scene.add_mesh(dataset, **plotting_options)
179179
object.actor = actor
180180
self._object_to_actors_map[actor] = object
181181
return actor.name

0 commit comments

Comments
 (0)