Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_keymap.c
| Context not available. | |||||
| wmOperatorType *ot = WM_operatortype_find(kmi->idname, 0); | wmOperatorType *ot = WM_operatortype_find(kmi->idname, 0); | ||||
| if (ot) { | if (ot) { | ||||
| if (ot->srna != kmi->ptr->type) { | if (ot->srna != kmi->ptr->type) { | ||||
| /* matches wm_keymap_item_properties_set but doesnt alloc new ptr */ | /* matches wm_keymap_item_properties_set but doesn't alloc new ptr */ | ||||
| WM_operator_properties_create_ptr(kmi->ptr, ot); | WM_operator_properties_create_ptr(kmi->ptr, ot); | ||||
| /* 'kmi->ptr->data' NULL'd above, keep using existing properties. | /* 'kmi->ptr->data' NULL'd above, keep using existing properties. | ||||
| * Note: the operators property types may have changed, | * Note: the operators property types may have changed, | ||||
| Context not available. | |||||