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:
authorTon Roosendaal <ton@blender.org>2005-11-06 22:02:14 +0300
committerTon Roosendaal <ton@blender.org>2005-11-06 22:02:14 +0300
commit25dc3355f4081bce3b9bea56587d4f451a69e4be (patch)
treeb87ceb8953c87fca2e0b3aed346b315713fab77a /source/blender/src/drawipo.c
parentdfce9d7d9be49d0c2ec95ef765c7a930e2f7d7c7 (diff)
Bugfix #3358
Deleting a shape key object could crash, when ipowindow open and showing an active key. Also: patch from tracker to increase limits of buttons for background image offset.
Diffstat (limited to 'source/blender/src/drawipo.c')
-rw-r--r--source/blender/src/drawipo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawipo.c b/source/blender/src/drawipo.c
index e6fe76605bc..66bd92cfa1a 100644
--- a/source/blender/src/drawipo.c
+++ b/source/blender/src/drawipo.c
@@ -967,7 +967,7 @@ static void draw_ipobuts(SpaceIpo *sipo)
ei= sipo->editipo;
y= area->winy-30+sipo->butofs;
- if(sipo->blocktype==ID_KE) {
+ if(ob && sipo->blocktype==ID_KE) {
int icon;
if(ob->shapeflag & OB_SHAPE_LOCK) icon= ICON_PIN_HLT; else icon= ICON_PIN_DEHLT;
uiDefIconButBitC(block, TOG, OB_SHAPE_LOCK, B_SETKEY, icon,