From 786e5bc731a3785ad1460e9910a938f4a0e3677c Mon Sep 17 00:00:00 2001 From: MewPurPur Date: Tue, 26 Sep 2023 17:26:32 +0300 Subject: [PATCH] Add missing docs for worker thread pool ProjectSettings and TreeItem.uncollapse_tree() --- doc/classes/ProjectSettings.xml | 3 ++- doc/classes/TreeItem.xml | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xml index acff58dadf6..af16bdad4e0 100644 --- a/doc/classes/ProjectSettings.xml +++ b/doc/classes/ProjectSettings.xml @@ -2764,6 +2764,7 @@ [/codeblock] + The ratio of [WorkerThreadPool]'s threads that will be reserved for low-priority tasks. For example, if 10 threads are available and this value is set to [code]0.3[/code], 3 of the worker threads will be reserved for low-priority tasks. The actual value won't exceed the number of CPU cores minus one, and if possible, at least one worker thread will be dedicated to low-priority tasks. Maximum number of threads to be used by [WorkerThreadPool]. Value of [code]-1[/code] means no limit. @@ -2772,7 +2773,7 @@ Action map configuration to load by default. - If [code]true[/code] Godot will setup and initialize OpenXR on startup. + If [code]true[/code], Godot will setup and initialize OpenXR on startup. Specify how OpenXR should blend in the environment. This is specific to certain AR and passthrough devices where camera images are blended in by the XR compositor. diff --git a/doc/classes/TreeItem.xml b/doc/classes/TreeItem.xml index 597a363514a..2c9ef8ba269 100644 --- a/doc/classes/TreeItem.xml +++ b/doc/classes/TreeItem.xml @@ -754,6 +754,7 @@ + Uncollapses all [TreeItem]s necessary to reveal this [TreeItem], i.e. all ancestor [TreeItem]s.