diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-19 16:14:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-19 16:14:15 +0400 |
commit | c4dbd8bc4945483322af5110c099bff42ad6d6a9 (patch) | |
tree | a0d64746f5cd9525cb8a1ed70133d2818a71d538 /source | |
parent | 5977fa5e2b2ca8cb405a0605132447e8d80a5fe7 (diff) |
fix for crash in r56063, was just missing an ID property copy (which menu does)
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/interface/interface.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 23104eb7027..b7b0b97df92 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -3902,7 +3902,8 @@ uiBut *uiDefSearchButO_ptr(uiBlock *block, wmOperatorType *ot, IDProperty *prope if (properties) { PointerRNA *ptr = uiButGetOperatorPtrRNA(but); /* Copy pointer. */ - RNA_pointer_create(NULL, ot->srna, properties, ptr); + RNA_pointer_create(NULL, ot->srna, NULL, ptr); + ptr->data = IDP_CopyProperty(properties); } return but; |