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>2013-04-19 16:14:15 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-19 16:14:15 +0400
commitc4dbd8bc4945483322af5110c099bff42ad6d6a9 (patch)
treea0d64746f5cd9525cb8a1ed70133d2818a71d538 /source/blender/editors/interface/interface.c
parent5977fa5e2b2ca8cb405a0605132447e8d80a5fe7 (diff)
fix for crash in r56063, was just missing an ID property copy (which menu does)
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r--source/blender/editors/interface/interface.c3
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;