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>2020-01-03 04:26:36 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-01-03 04:34:55 +0300
commita8ce9a143abbb51eae28e5d0cae1fb310bd0c24c (patch)
treeb883f6e266a4e89693be856ee2fae0efd9f120d4 /source/blender/windowmanager/intern/wm_toolsystem.c
parenta854840e76ae3e0724531524e8b1d7a4cd63ea1d (diff)
Tool System: store the fallback tool for re-use
The fallback tool was run-time only data, now it's stored in the blend file.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_toolsystem.c')
-rw-r--r--source/blender/windowmanager/intern/wm_toolsystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_toolsystem.c b/source/blender/windowmanager/intern/wm_toolsystem.c
index c79f75b5b21..45836604109 100644
--- a/source/blender/windowmanager/intern/wm_toolsystem.c
+++ b/source/blender/windowmanager/intern/wm_toolsystem.c
@@ -366,7 +366,7 @@ void WM_toolsystem_ref_set_from_runtime(struct bContext *C,
}
}
if (use_fallback_keymap == false) {
- tref->runtime->idname_fallback[0] = '\0';
+ tref->idname_fallback[0] = '\0';
tref->runtime->keymap_fallback[0] = '\0';
}