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:
authorJeroen Bakker <j.bakker@atmind.nl>2012-01-26 12:45:01 +0400
committerJeroen Bakker <j.bakker@atmind.nl>2012-01-26 12:45:01 +0400
commit7605fabf92e4c3a487ed959f313eacee67442776 (patch)
treead43f58ad5bdb53ce9dda3bae625d02adb28fb4a /release/scripts
parent6a93b4f5b14caacacf6e276ac838fc84b57e7196 (diff)
TileBranch
* removed a python null-value when doing the next steps: 1. start blender 2. go to the compositor view 3. press 'N' issue was that no node_tree is available
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/startup/bl_ui/space_node.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_node.py b/release/scripts/startup/bl_ui/space_node.py
index 23d6154d1f5..11d732ee0a6 100644
--- a/release/scripts/startup/bl_ui/space_node.py
+++ b/release/scripts/startup/bl_ui/space_node.py
@@ -202,7 +202,7 @@ class NODE_PT_quality(bpy.types.Panel):
@classmethod
def poll(cls, context):
snode = context.space_data
- return snode.tree_type == 'COMPOSITING'
+ return snode.tree_type == 'COMPOSITING' and snode.node_tree is not None
def draw(self, context):
layout = self.layout