You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fixed viewport transparent bg when clear mode is enabled.
This commit is contained in:
@@ -72,6 +72,8 @@ public:
|
||||
|
||||
VS::ViewportClearMode clear_mode;
|
||||
|
||||
bool transparent_bg;
|
||||
|
||||
struct CanvasKey {
|
||||
|
||||
int layer;
|
||||
@@ -101,6 +103,7 @@ public:
|
||||
Viewport() {
|
||||
update_mode = VS::VIEWPORT_UPDATE_WHEN_VISIBLE;
|
||||
clear_mode = VS::VIEWPORT_CLEAR_ALWAYS;
|
||||
transparent_bg = false;
|
||||
disable_environment = false;
|
||||
viewport_to_screen = 0;
|
||||
shadow_atlas_size = 0;
|
||||
|
||||
Reference in New Issue
Block a user