BallanceBlenderHelper/ballance_blender_plugin/utils.py

12 lines
316 B
Python

import bpy
from bpy_extras.io_utils import unpack_list
def ShowMessageBox(message, title, icon):
def draw(self, context):
layout = self.layout
for item in message:
layout.label(text=item, translate=False)
bpy.context.window_manager.popup_menu(draw, title = title, icon = icon)