mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06:00
Remove unused extra argument
This commit is contained in:
parent
fe4790fe06
commit
5134540751
1 changed files with 2 additions and 3 deletions
|
@ -37,11 +37,10 @@ class Snapshot:
|
|||
return min_x, max_x, min_y, max_y
|
||||
|
||||
@staticmethod
|
||||
def isometric_snapshot(width: int = 300, height: int = 300, *, root: Optional[SceneNode] = None) -> Optional[
|
||||
QImage]:
|
||||
def isometric_snapshot(width: int = 300, height: int = 300) -> Optional[QImage]:
|
||||
"""Create an isometric snapshot of the scene."""
|
||||
|
||||
root = Application.getInstance().getController().getScene().getRoot() if root is None else root
|
||||
root = Application.getInstance().getController().getScene().getRoot()
|
||||
|
||||
# the direction the camera is looking at to create the isometric view
|
||||
iso_view_dir = Vector(-1, -1, -1).normalized()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue