diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-06-20 07:58:25 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-06-20 07:58:25 +0400 |
commit | 6393e9b3ca7e40e95830d009020b0f106c00b529 (patch) | |
tree | 4cd2605de62e5c3ab785129403f9226c6100507c /source/blender/editors/space_nla/nla_buttons.c | |
parent | 12bf10be020de1f4031889f78552c77121da3194 (diff) |
NLA SoC: Fixes for problems arising from the merge
Diffstat (limited to 'source/blender/editors/space_nla/nla_buttons.c')
-rw-r--r-- | source/blender/editors/space_nla/nla_buttons.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/blender/editors/space_nla/nla_buttons.c b/source/blender/editors/space_nla/nla_buttons.c index cb76f7fc735..0d5cdf80830 100644 --- a/source/blender/editors/space_nla/nla_buttons.c +++ b/source/blender/editors/space_nla/nla_buttons.c @@ -206,11 +206,7 @@ static void nla_panel_properties(const bContext *C, Panel *pa) uiLayout *layout= pa->layout; uiLayout *column, *row, *subcol; uiBlock *block; - - /* check context and also validity of pointer */ - if (!nla_panel_context(C, NULL, &strip_ptr)) - return; - + block= uiLayoutGetBlock(layout); uiBlockSetHandleFunc(block, do_nla_region_buttons, NULL); |