Skip to content

Commit

Permalink
Disable 3D for the SubViewports
Browse files Browse the repository at this point in the history
This doesn't affect 3D layers, as they are being rendered on another Viewport
  • Loading branch information
OverloadedOrama committed Mar 12, 2024
1 parent 6ea6df0 commit 3c5c659
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/UI/UI.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ script = ExtResource("23")
camera_path = NodePath("SubViewport/Camera2D")

[node name="SubViewport" type="SubViewport" parent="DockableContainer/Main Canvas/ViewportandVerticalRuler/SubViewportContainer"]
disable_3d = true
handle_input_locally = false
canvas_item_default_texture_filter = 0
size = Vector2i(862, 515)
Expand Down Expand Up @@ -346,6 +347,7 @@ script = ExtResource("23")
camera_path = NodePath("SubViewport/Camera2D2")

[node name="SubViewport" type="SubViewport" parent="DockableContainer/Second Canvas"]
disable_3d = true
handle_input_locally = false
canvas_item_default_texture_filter = 0
size = Vector2i(2, 2)
Expand Down

0 comments on commit 3c5c659

Please sign in to comment.