Skip to content

Commit

Permalink
deep copy the volume transform
Browse files Browse the repository at this point in the history
this is the default value in future vedo releases
  • Loading branch information
alessandrofelder authored Dec 8, 2023
1 parent 7d00370 commit 0f2428d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brainrender/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _prepare_actor(self, actor):

if isinstance(actor._mesh, VedoVolume):
actor._mesh.permute_axes(2, 1, 0)
actor._mesh.apply_transform(mtx)
actor._mesh.apply_transform(mtx, True)
actor._mesh.transform = (
None # otherwise it gets applied twice
)
Expand Down

0 comments on commit 0f2428d

Please sign in to comment.