forked from bartvdbraak/blender
3d text tool - 'insert lorem' was crashing, also add this to the text menu.
This commit is contained in:
parent
f3b7a49d5b
commit
3ff36f928c
@ -8,6 +8,7 @@ Note that they will not block the scripts execution, so the caller can't wait fo
|
||||
|
||||
import bpy
|
||||
|
||||
|
||||
def draw(self, context):
|
||||
self.layout.label("Hello World")
|
||||
|
||||
|
@ -2220,6 +2220,10 @@ class VIEW3D_MT_edit_font(Menu):
|
||||
layout.operator("font.style_toggle", text="Toggle Underline").style = 'UNDERLINE'
|
||||
layout.operator("font.style_toggle", text="Toggle Small Caps").style = 'SMALL_CAPS'
|
||||
|
||||
layout.separator()
|
||||
|
||||
layout.operator("font.insert_lorem")
|
||||
|
||||
|
||||
class VIEW3D_MT_edit_text_chars(Menu):
|
||||
bl_label = "Special Characters"
|
||||
|
@ -653,5 +653,5 @@ const char ED_lorem[] = {
|
||||
32, 115, 101, 100, 32, 116, 117, 114, 112, 105, 115, 32, 117, 116, 32, 100, 111, 108, 111, 114, 32, 112, 108, 97, 99, 101, 114, 97, 116, 32, 100, 105,
|
||||
103, 110, 105, 115, 115, 105, 109, 46, 32, 81, 117, 105, 115, 113, 117, 101, 32, 113, 117, 105, 115, 32, 108, 101, 111, 46, 32, 67, 114, 97, 115, 32,
|
||||
117, 108, 116, 114, 105, 99, 101, 115, 46, 32, 77, 97, 101, 99, 101, 110, 97, 115, 32, 104, 101, 110, 100, 114, 101, 114, 105, 116, 32, 97, 117, 99,
|
||||
116, 111, 114, 32, 116, 111, 114, 116, 111, 114, 46, 32, 69, 116, 105, 97, 109, 32, 115, 105, 116, 32, 97, 109, 101, 116, 32, 97, 114, 99, 117, 46
|
||||
};
|
||||
116, 111, 114, 32, 116, 111, 114, 116, 111, 114, 46, 32, 69, 116, 105, 97, 109, 32, 115, 105, 116, 32, 97, 109, 101, 116, 32, 97, 114, 99, 117, 46,
|
||||
0};
|
||||
|
Loading…
Reference in New Issue
Block a user