Skip to content
Snippets Groups Projects

Removing the >

Merged Andrew Maclean requested to merge Fix_Python_Snippet into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -17,7 +17,7 @@ def CameraModifiedCallback(caller, event):
"""
print(caller.GetClassName(), "modified")
# Print the interesting stuff.
res = f'\tcamera = renderer.>GetActiveCamera()\n'
res = f'\tcamera = renderer.GetActiveCamera()\n'
res += f'\tcamera.SetPosition({", ".join(map("{0:0.6f}".format, caller.GetPosition()))})\n'
res += f'\tcamera.SetFocalPoint({", ".join(map("{0:0.6f}".format, caller.GetFocalPoint()))})\n'
res += f'\tcamera.SetViewUp({", ".join(map("{0:0.6f}".format, caller.GetViewUp()))})\n'
Loading