Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 7d880f4892f..3d0a5acc0a7 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -4294,6 +4294,7 @@ class VIEW3D_MT_edit_curve_context_menu(Menu):
# Remove
layout.operator("curve.split")
layout.operator("curve.decimate")
+ layout.operator("curve.separate")
layout.operator("curve.dissolve_verts")
layout.operator("curve.delete", text="Delete Segment").type = 'SEGMENT'
layout.operator("curve.delete", text="Delete Point").type = 'VERT'
@@ -4333,6 +4334,23 @@ class VIEW3D_MT_edit_font(Menu):
layout.operator("font.style_toggle", text="Toggle Underline", icon='UNDERLINE').style = 'UNDERLINE'
layout.operator("font.style_toggle", text="Toggle Small Caps", icon='SMALL_CAPS').style = 'SMALL_CAPS'
+ layout.menu("VIEW3D_MT_edit_font_kerning")
+
+
+class VIEW3D_MT_edit_font_kerning(Menu):
+ bl_label = "Kerning"
+
+ def draw(self, context):
+ layout = self.layout
+
+ ob = context.active_object
+ text = ob.data
+ kerning = text.edit_format.kerning
+
+ layout.operator("font.change_spacing", text="Decrease Kerning").delta = -1
+ layout.operator("font.change_spacing", text="Increase Kerning").delta = 1
+ layout.operator("font.change_spacing", text="Reset Kerning").delta = -kerning
+
class VIEW3D_MT_edit_text_chars(Menu):
bl_label = "Special Characters"
@@ -4524,6 +4542,7 @@ class VIEW3D_MT_armature_context_menu(Menu):
# Remove
layout.operator("armature.split")
+ layout.operator("armature.separate")
layout.operator("armature.merge")
layout.operator("armature.dissolve")
layout.operator("armature.delete")
@@ -5419,6 +5438,7 @@ class VIEW3D_PT_shading_lighting(Panel):
col.prop(shading, "studiolight_rotate_z", text="Rotation")
col.prop(shading, "studiolight_intensity")
col.prop(shading, "studiolight_background_alpha")
+ col.prop(shading, "studiolight_background_blur")
col = split.column() # to align properly with above
elif shading.type == 'RENDERED':
@@ -5442,6 +5462,7 @@ class VIEW3D_PT_shading_lighting(Panel):
col.prop(shading, "studiolight_rotate_z", text="Rotation")
col.prop(shading, "studiolight_intensity")
col.prop(shading, "studiolight_background_alpha")
+ col.prop(shading, "studiolight_background_blur")
col = split.column() # to align properly with above
@@ -7107,6 +7128,7 @@ classes = (
VIEW3D_MT_edit_curve_showhide,
VIEW3D_MT_edit_surface,
VIEW3D_MT_edit_font,
+ VIEW3D_MT_edit_font_kerning,
VIEW3D_MT_edit_text_chars,
VIEW3D_MT_edit_meta,
VIEW3D_MT_edit_meta_showhide,