Skip to content

Commit

Permalink
remove camera operation
Browse files Browse the repository at this point in the history
I don't see why our export function should affect the camera.
I removed it here because camera is an empty list in the test.
  • Loading branch information
alessandrofelder committed Nov 15, 2023
1 parent 9ec052d commit e3dee52
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion brainrender/render.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,6 @@ def export(self, savepath):
plt = Plotter()
plt.add(self.clean_renderables).render()
plt = plt.show(interactive=False)
plt.camera[-2] = -1

with open(path, "w") as fp:
fp.write(plt.get_snapshot())
Expand Down

0 comments on commit e3dee52

Please sign in to comment.