Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / space_graph / graph_buttons.c
index 263b68a212464d8053cee3934820309d52bac4a9..2a0d5baa5c32c6c6a4d773c611e2a27e1a3dc54f 100644 (file)
@@ -801,7 +801,7 @@ static void graph_draw_driver_settings_panel(uiLayout *layout, ID *id, FCurve *f
 
                if ((G.f & G_SCRIPT_AUTOEXEC) == 0) {
                        /* TODO: Add button to enable? */
-                       uiItemL(col, IFACE_("ERROR: Python auto-execution disabled"), ICON_CANCEL);
+                       uiItemL(col, IFACE_("WARNING: Python expressions limited for security"), ICON_ERROR);
                }
                else if (driver->flag & DRIVER_FLAG_INVALID) {
                        uiItemL(col, IFACE_("ERROR: Invalid Python expression"), ICON_CANCEL);