You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Remove viewport_set_disable_environment in favor of viewport_set_environment_mode
This allows us to set a default value inherited by child viewports and have child viewports set the value themselves which is needed for disabling the environment in the editor
This commit is contained in:
@@ -608,7 +608,7 @@ public:
|
||||
FUNC1RC(RID, viewport_get_texture, RID)
|
||||
|
||||
FUNC2(viewport_set_disable_2d, RID, bool)
|
||||
FUNC2(viewport_set_disable_environment, RID, bool)
|
||||
FUNC2(viewport_set_environment_mode, RID, ViewportEnvironmentMode)
|
||||
FUNC2(viewport_set_disable_3d, RID, bool)
|
||||
|
||||
FUNC2(viewport_set_canvas_cull_mask, RID, uint32_t)
|
||||
|
||||
Reference in New Issue
Block a user