Tool System: store operator properties in the tool

This replaces last-used property use which wasn't reliable since
properties were not considered 'set' - causing them to be ignored.
This commit is contained in:
2018-05-22 14:00:44 +02:00
parent 298f8042ef
commit 96a7ed8a15
11 changed files with 140 additions and 31 deletions

View File

@@ -54,6 +54,7 @@ typedef struct wmEventHandler {
/* Run after the keymap item runs. */
void (*keymap_callback)(wmKeyMap *keymap, wmKeyMapItem *kmi, void *user_data);
void *keymap_callback_user_data;
struct bToolRef *keymap_tool;
/* modal operator handler */
wmOperator *op; /* for derived/modal handlers */