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/ui/space_logic.py')
-rw-r--r--release/scripts/ui/space_logic.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/ui/space_logic.py b/release/scripts/ui/space_logic.py
index 4a70695024a..370e49c4475 100644
--- a/release/scripts/ui/space_logic.py
+++ b/release/scripts/ui/space_logic.py
@@ -25,7 +25,8 @@ class LOGIC_PT_properties(bpy.types.Panel):
bl_region_type = 'UI'
bl_label = "Properties"
- def poll(self, context):
+ @staticmethod
+ def poll(context):
ob = context.active_object
return ob and ob.game