[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [57805] trunk/blender: 3d text tool - ' insert lorem' was crashing, also add this to the text menu.
Campbell Barton
ideasman42 at gmail.com
Thu Jun 27 06:18:02 CEST 2013
Revision: 57805
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=57805
Author: campbellbarton
Date: 2013-06-27 04:18:01 +0000 (Thu, 27 Jun 2013)
Log Message:
-----------
3d text tool - 'insert lorem' was crashing, also add this to the text menu.
Modified Paths:
--------------
trunk/blender/doc/python_api/examples/bpy.app.translations.py
trunk/blender/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py
trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
trunk/blender/source/blender/editors/curve/lorem.c
Modified: trunk/blender/doc/python_api/examples/bpy.app.translations.py
===================================================================
--- trunk/blender/doc/python_api/examples/bpy.app.translations.py 2013-06-27 03:57:59 UTC (rev 57804)
+++ trunk/blender/doc/python_api/examples/bpy.app.translations.py 2013-06-27 04:18:01 UTC (rev 57805)
@@ -4,7 +4,7 @@
.. warning::
Most of this object should only be useful if you actually manipulate i18n stuff from Python.
- If you are a regular addon, you should only bother about :const:`contexts` member,
+ If you are a regular addon, you should only bother about :const:`contexts` member,
and the :func:`register`/:func:`unregister` functions! The :func:`pgettext` family of functions
should only be used in rare, specific cases (like e.g. complex "composited" UI strings...).
Modified: trunk/blender/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py
===================================================================
--- trunk/blender/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py 2013-06-27 03:57:59 UTC (rev 57804)
+++ trunk/blender/doc/python_api/examples/bpy.types.WindowManager.popup_menu.py 2013-06-27 04:18:01 UTC (rev 57805)
@@ -8,6 +8,7 @@
import bpy
+
def draw(self, context):
self.layout.label("Hello World")
Modified: trunk/blender/release/scripts/startup/bl_ui/space_view3d.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/space_view3d.py 2013-06-27 03:57:59 UTC (rev 57804)
+++ trunk/blender/release/scripts/startup/bl_ui/space_view3d.py 2013-06-27 04:18:01 UTC (rev 57805)
@@ -2220,7 +2220,11 @@
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"
Modified: trunk/blender/source/blender/editors/curve/lorem.c
===================================================================
--- trunk/blender/source/blender/editors/curve/lorem.c 2013-06-27 03:57:59 UTC (rev 57804)
+++ trunk/blender/source/blender/editors/curve/lorem.c 2013-06-27 04:18:01 UTC (rev 57805)
@@ -653,5 +653,5 @@
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};
More information about the Bf-blender-cvs
mailing list