UI: Improvements to Confirmation of Pack Resources #117155
|
@ -176,8 +176,14 @@ static int pack_all_invoke(bContext *C, wmOperator *op, const wmEvent * /*event*
|
|||
}
|
||||
|
||||
if (ima) {
|
||||
return WM_operator_confirm_message(
|
||||
C, op, "Some images are painted on. These changes will be lost. Continue?");
|
||||
return WM_operator_confirm_ex(
|
||||
C,
|
||||
op,
|
||||
IFACE_("Pack all used external files into this .blend file"),
|
||||
IFACE_("Warning: Some images are modified and these changes will be lost."),
|
||||
IFACE_("Pack"),
|
||||
ALERT_ICON_WARNING,
|
||||
false);
|
||||
}
|
||||
|
||||
return pack_all_exec(C, op);
|
||||
|
|
Loading…
Reference in New Issue