diff options
author | Alexander Gavrilov <angavrilov@gmail.com> | 2019-06-16 17:14:57 +0300 |
---|---|---|
committer | Alexander Gavrilov <angavrilov@gmail.com> | 2019-06-16 17:14:57 +0300 |
commit | b1b0781c1ed7148efc59287368f4b812a2a18c6e (patch) | |
tree | 6d522524071819fa7a213d9ec85deef6e44d0e42 /source/blender/editors/space_graph | |
parent | 3e086af79ceb38345eed1c76472eb6fc8cfc1196 (diff) |
Drivers: shorten the security restriction warning.
A longer string is truncated in the popover, which can't be resized.
Diffstat (limited to 'source/blender/editors/space_graph')
-rw-r--r-- | source/blender/editors/space_graph/graph_buttons.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c index 301fefaf989..c727c5225c9 100644 --- a/source/blender/editors/space_graph/graph_buttons.c +++ b/source/blender/editors/space_graph/graph_buttons.c @@ -957,7 +957,7 @@ static void graph_draw_driver_settings_panel(uiLayout *layout, else if (!BKE_driver_has_simple_expression(driver)) { if ((G.f & G_FLAG_SCRIPT_AUTOEXEC) == 0) { /* TODO: Add button to enable? */ - uiItemL(col, TIP_("WARNING: Python expressions limited for security"), ICON_ERROR); + uiItemL(col, TIP_("Python restricted for security"), ICON_ERROR); } else { uiItemL(col, TIP_("Slow Python expression"), ICON_INFO); |