Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2019-04-19 19:52:38 +0300
committerClément Foucault <foucault.clem@gmail.com>2019-04-19 19:52:38 +0300
commit3368df4ab6eab69cc7aec30fccb2ac806c45bbe4 (patch)
tree715f82a4b6909f427e283b870199ea3d7b340c35 /release
parent7e4db169f2ab8dd62281f0b42a6f7e33be5f32d6 (diff)
DRW: Expose VBO garbage collection timings
This adds user side options to tweak the behavior of the vbo garbage collection.
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_userpref.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_userpref.py b/release/scripts/startup/bl_ui/space_userpref.py
index 1ee154b4879..7cfcbfe133e 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -685,6 +685,13 @@ class USERPREF_PT_system_memory(PreferencePanel, Panel):
flow.prop(system, "texture_time_out", text="Texture Time Out")
flow.prop(system, "texture_collection_rate", text="Garbage Collection Rate")
+ layout.separator()
+
+ flow = layout.grid_flow(row_major=False, columns=0, even_columns=True, even_rows=False, align=False)
+
+ flow.prop(system, "vbo_time_out", text="Vbo Time Out")
+ flow.prop(system, "vbo_collection_rate", text="Garbage Collection Rate")
+
class USERPREF_MT_interface_theme_presets(Menu):
bl_label = "Presets"