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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-16 23:03:28 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2008-12-16 23:03:28 +0300
commitc1379f6613d327a7604700007afd52e36f48080a (patch)
treedff5af25582f4e343b7c0a7399d760c9dff4d54a /source/blender/windowmanager/intern/wm_keymap.c
parent962870b2358775ebef96198da4efe61a4224b526 (diff)
UI:
* Added support for defining properties for operator buttons, with uiButGetOperatorPtrRNA. Needed to cleanup a hack that was there for operator properties in RNA, now a separate OperatorProperties type is used for storing operator properties, instead of being part of the Operator type itself. * Allow selecting menu items with mouse release instead of press again. * Fix some cases with hanging tooltips in the UI.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_keymap.c')
-rw-r--r--source/blender/windowmanager/intern/wm_keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_keymap.c b/source/blender/windowmanager/intern/wm_keymap.c
index 9a231148c36..139fff45b48 100644
--- a/source/blender/windowmanager/intern/wm_keymap.c
+++ b/source/blender/windowmanager/intern/wm_keymap.c
@@ -84,7 +84,7 @@ static void keymap_properties_set(wmKeymapItem *kmi)
if(ot) {
kmi->ptr= MEM_callocN(sizeof(PointerRNA), "wmKeymapItemPtr");
- RNA_pointer_create(NULL, NULL, ot->srna, kmi, kmi->ptr);
+ RNA_pointer_create(NULL, NULL, ot->srna, &kmi->properties, kmi->ptr);
}
}
}