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:
authorCampbell Barton <ideasman42@gmail.com>2011-07-16 03:55:20 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-16 03:55:20 +0400
commit4ca88c99be18651cc96c549afde8dc190120b052 (patch)
tree760e514c91c75525b473fda695bbf6c56a573504 /source/blender/editors
parent729498ab2da989d0bfbba02c1b1a6bc9f6964b1c (diff)
fix for crash with edit armature buttons when no bones were selected (uninitialized pointer)
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_view3d/view3d_buttons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_buttons.c b/source/blender/editors/space_view3d/view3d_buttons.c
index ef7ada85843..6e03866153f 100644
--- a/source/blender/editors/space_view3d/view3d_buttons.c
+++ b/source/blender/editors/space_view3d/view3d_buttons.c
@@ -967,7 +967,7 @@ static void v3d_editarmature_buts(uiLayout *layout, Object *ob)
ebone= arm->act_edbone;
if (!ebone || (ebone->layer & arm->layer)==0) {
- uiItemL(col, "Nothing selected", ICON_NONE);
+ uiItemL(layout, "Nothing selected", ICON_NONE);
return;
}
// row= uiLayoutRow(layout, 0);