diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-12-07 00:46:02 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-12-07 05:20:37 +0300 |
commit | 8b512414c5751c39d443c85d3dcb4820c14e3ba0 (patch) | |
tree | 5468bd943b5496c5b3a507aa1f94afd07cbe1cc5 /source/blender/windowmanager/intern/wm_toolsystem.c | |
parent | 7c2217cd126a97df9b1c305f79a605f25c06a229 (diff) |
Preferences: correct experimental flag use
Add utilities for checking when experimental features
should be used.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_toolsystem.c')
-rw-r--r-- | source/blender/windowmanager/intern/wm_toolsystem.c | 2 |
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 d714fdaa19e..5878a82d576 100644 --- a/source/blender/windowmanager/intern/wm_toolsystem.c +++ b/source/blender/windowmanager/intern/wm_toolsystem.c @@ -355,7 +355,7 @@ void WM_toolsystem_ref_set_from_runtime(struct bContext *C, * pass in the argument to begin with. */ bool use_fallback_keymap = false; - if (U.experimental.use_tool_fallback) { + if (USER_EXPEREMENTAL_TEST(&U, use_tool_fallback)) { if (tref_rt->gizmo_group[0]) { wmGizmoGroupType *gzgt = WM_gizmogrouptype_find(tref_rt->gizmo_group, false); if (gzgt) { |