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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2009-07-28 22:59:36 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2009-07-28 22:59:36 +0400
commit8cf4ef091c91fa4666aa9b017ddba61b52c02806 (patch)
tree329498b41ccbb956cd703c6e643a16adb35866cb /release
parent801d44a09efd98a2345dd8b5938b4d811bbf68fc (diff)
2.5: various one-liner fixes
* Image window only show game properties in game mode. * Fix image window render info drawing wrong with alpha enabled. * Win32 editmode cursor now uses a different one than the system cursor, that one is barely visible, especially in the new theme colors. * Center text in operator header print. * Fix sequencer unlock shortcut key. * Fix uv layer / vertex color active render button now graying out. * Workaround to get default zoom level 1:1 again for new buttons (will try to fix properly later, is due to scrollbars).
Diffstat (limited to 'release')
-rw-r--r--release/ui/space_image.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/ui/space_image.py b/release/ui/space_image.py
index f8950892957..eeac19c04e0 100644
--- a/release/ui/space_image.py
+++ b/release/ui/space_image.py
@@ -275,8 +275,9 @@ class IMAGE_PT_game_properties(bpy.types.Panel):
__label__ = "Game Properties"
def poll(self, context):
+ rd = context.scene.render_data
sima = context.space_data
- return (sima and sima.image)
+ return (sima and sima.image) and (rd.engine == 'BLENDER_GAME')
def draw(self, context):
sima = context.space_data