Usual UI messages fixes & tweaks.
This commit is contained in:
parent
607b814096
commit
59ee5add12
|
@ -1723,14 +1723,13 @@ static uiBlock *block_create_opengl_usage_warning(struct bContext *C,
|
|||
|
||||
/* Title and explanation text. */
|
||||
uiLayout *col = uiLayoutColumn(layout, false);
|
||||
uiItemL_ex(col, TIP_("Python script uses OpenGL for drawing."), ICON_NONE, true, false);
|
||||
uiItemL_ex(col, TIP_("Python script uses OpenGL for drawing"), ICON_NONE, true, false);
|
||||
uiItemL(col, TIP_("This may lead to unexpected behavior"), ICON_NONE);
|
||||
uiItemL(
|
||||
col,
|
||||
TIP_("One of the add-ons or scripts is using OpenGL and will not work correct on Metal."),
|
||||
ICON_NONE);
|
||||
uiItemL(col,
|
||||
TIP_("Please contact the developer of the add-on to migrate to use 'gpu' module."),
|
||||
TIP_("One of the add-ons or scripts is using OpenGL and will not work correct on Metal"),
|
||||
ICON_NONE);
|
||||
uiItemL(col,
|
||||
TIP_("Please contact the developer of the add-on to migrate to use 'gpu' module"),
|
||||
ICON_NONE);
|
||||
if (G.opengl_deprecation_usage_filename) {
|
||||
char location[1024];
|
||||
|
@ -1738,7 +1737,7 @@ static uiBlock *block_create_opengl_usage_warning(struct bContext *C,
|
|||
location, "%s:%d", G.opengl_deprecation_usage_filename, G.opengl_deprecation_usage_lineno);
|
||||
uiItemL(col, location, ICON_NONE);
|
||||
}
|
||||
uiItemL(col, TIP_("See system tab in preferences to switch to OpenGL backend."), ICON_NONE);
|
||||
uiItemL(col, TIP_("See system tab in preferences to switch to OpenGL backend"), ICON_NONE);
|
||||
|
||||
uiItemS(layout);
|
||||
|
||||
|
@ -1769,7 +1768,7 @@ void wm_test_opengl_deprecation_warning(bContext *C)
|
|||
&wm->reports,
|
||||
RPT_ERROR,
|
||||
TIP_("One of the add-ons or scripts is using OpenGL and will not work correct on Metal. "
|
||||
"Please contact the developer of the add-on to migrate to use 'gpu' module."));
|
||||
"Please contact the developer of the add-on to migrate to use 'gpu' module"));
|
||||
|
||||
if (win) {
|
||||
wmWindow *prevwin = CTX_wm_window(C);
|
||||
|
|
Loading…
Reference in New Issue