diff options
author | Marc Gilleron <marc.gilleron@gmail.com> | 2022-07-24 21:39:06 +0100 |
---|---|---|
committer | Marc Gilleron <marc.gilleron@gmail.com> | 2022-07-24 21:39:06 +0100 |
commit | 5690f471352791149152e2f502f9e95913e58f43 (patch) | |
tree | ad7bf13d27c480a096a383ed5cf006ad51bb8abe /core/math/camera_matrix.cpp | |
parent | 887a6065691011b31bbc459d64ce00878f7a80de (diff) |
Initialize default values for viewports in rendering server.
Example with TAA: by default it is `false` in project settings and in
the Viewport node. When the scene tree is created, Viewport.set_use_taa()
is called with the value from ProjectSettings. But because the default
values are already the same, RenderingServer isn't called.
The Viewport struct in the RenderingServer does not initialize this field,
so TAA gets randomly enabled when the game starts with default settings.
Diffstat (limited to 'core/math/camera_matrix.cpp')
0 files changed, 0 insertions, 0 deletions