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:
Diffstat (limited to 'release/scripts/startup/bl_ui/space_node.py')
-rw-r--r--release/scripts/startup/bl_ui/space_node.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py
index 0114f33928a..11c258ef689 100644
--- a/release/scripts/startup/bl_ui/space_node.py
+++ b/release/scripts/startup/bl_ui/space_node.py
@@ -205,5 +205,25 @@ class NODE_PT_properties(Panel):
col.prop(snode, "backdrop_y", text="Y")
col.operator("node.backimage_move", text="Move")
+class NODE_PT_quality(bpy.types.Panel):
+ bl_space_type = 'NODE_EDITOR'
+ bl_region_type = 'UI'
+ bl_label = "Quality"
+
+ @classmethod
+ def poll(cls, context):
+ snode = context.space_data
+ return snode.tree_type == 'COMPOSITING' and snode.node_tree is not None
+
+ def draw(self, context):
+ layout = self.layout
+ snode = context.space_data
+ tree = snode.node_tree
+
+ layout.prop(tree, "render_quality", text="Render")
+ layout.prop(tree, "edit_quality", text="Edit")
+ layout.prop(tree, "chunksize")
+ layout.prop(tree, "use_opencl")
+
if __name__ == "__main__": # only for live edit.
bpy.utils.register_module(__name__)