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
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-06-03 17:34:55 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-06-03 20:01:18 +0300
commit9b01e7bc27c4a8c8c9f95aa074f458f3e734d23b (patch)
tree5dd02665f923067ec3c9cc473b6f9f1e7c0b3360 /intern
parent81dbf08eb49da22576c9b444b9199e6264c7bfe1 (diff)
UI: move Cycles device to Performance panel.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/addon/ui.py19
1 files changed, 12 insertions, 7 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 8793ddb83f6..bd2d5437f8f 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -373,6 +373,18 @@ class CYCLES_RENDER_PT_performance(CyclesButtonsPanel, Panel):
col = layout.column()
+ col = layout.column()
+ col.active = show_device_active(context)
+ col.prop(cscene, "device")
+
+ from . import engine
+ if engine.with_osl() and use_cpu(context):
+ col.prop(cscene, "shading_system")
+
+ col.separator()
+
+ col = layout.column()
+
col.row(align=True).prop(rd, "threads_mode")
sub = col.column(align=True)
sub.enabled = rd.threads_mode == 'FIXED'
@@ -1460,13 +1472,6 @@ def draw_device(self, context):
col = layout.column()
col.prop(cscene, "feature_set")
- col = layout.column()
- col.active = show_device_active(context)
- col.prop(cscene, "device")
-
- if engine.with_osl() and use_cpu(context):
- layout.prop(cscene, "shading_system")
-
def draw_pause(self, context):
layout = self.layout