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:
authorBastien Montagne <montagne29@wanadoo.fr>2013-08-24 00:41:21 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2013-08-24 00:41:21 +0400
commit5b83a89c8127d48221d769fbff18ef02baaa1f6b (patch)
treedcd776aaef0d10625e0e50a93c1c34c0fa9bf113 /release/scripts/startup/bl_ui/properties_render.py
parent52eb61f84b564308762fdaafbd05b5193cf513c0 (diff)
Followup to r59434 : py UI scripts edits.
Notes: * Made those edits by full checking of py files, so I should have spoted most needed edits, yet it remains quite probable I missed a few ones, we'll fix if/when someone notice it... * Also made some cleanup "on the road"!
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_render.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_render.py18
1 files changed, 8 insertions, 10 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py
index 799c109ae0c..e11f179e2cb 100644
--- a/release/scripts/startup/bl_ui/properties_render.py
+++ b/release/scripts/startup/bl_ui/properties_render.py
@@ -257,18 +257,16 @@ class RENDER_PT_performance(RenderButtonsPanel, Panel):
split = layout.split()
- col = split.column()
+ col = split.column(align=True)
+ col.label(text="Threads:")
+ col.row(align=True).prop(rd, "threads_mode", expand=True)
sub = col.column(align=True)
- sub.label(text="Threads:")
- sub.row().prop(rd, "threads_mode", expand=True)
- subsub = sub.column()
- subsub.enabled = rd.threads_mode == 'FIXED'
- subsub.prop(rd, "threads")
+ sub.enabled = rd.threads_mode == 'FIXED'
+ sub.prop(rd, "threads")
- sub = col.column(align=True)
- sub.label(text="Tile Size:")
- sub.prop(rd, "tile_x", text="X")
- sub.prop(rd, "tile_y", text="Y")
+ col.label(text="Tile Size:")
+ col.prop(rd, "tile_x", text="X")
+ col.prop(rd, "tile_y", text="Y")
col = split.column()
col.label(text="Memory:")