BallanceBlenderHelper/ballance_blender_plugin/utils.py
2020-07-12 21:04:38 +08:00

8 lines
230 B
Python

import bpy
def ShowMessageBox(message = "", title = "Message Box", icon = 'INFO'):
def draw(self, context):
self.layout.label(text=message)
bpy.context.window_manager.popup_menu(draw, title = title, icon = icon)