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-10-03 22:03:44 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-03 22:03:44 +0400
commit59c0cbbc34869e21bb687eb60506add04e5bf2d0 (patch)
tree47149200b9fb00397ed6c65768086e20df211484 /source/blender/editors
parentcdc564064c5d7e442b1accf51670b6287c149ff4 (diff)
fix for missing null check in own recent commit.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/interface/interface_handlers.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index 81900b0ba39..b4970d5933c 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -5157,7 +5157,9 @@ void uiContextActivePropertyHandle(bContext *C)
* currently this is mainly so reset defaults works for the
* operator redo panel - campbell */
uiBlock *block= activebut->block;
- block->handle_func(C, block->handle_func_arg, 0);
+ if (block->handle_func) {
+ block->handle_func(C, block->handle_func_arg, 0);
+ }
}
}