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:
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;