UI: fix and improve a few messages
- "Frame Step" -> "Number of frames to skip forward while baking each frame": expand description which was just copying the prop name. - "b-bone" -> "B-Bone": title case. - "Volumes Lighting" -> "Volume Lighting": typo. - "Volumes Shadows" -> "Volume Shadows": typo. - "Insert Blank Keyframe (All Layer)" -> "(All Layers)": typo. - "the an" -> "an", typo. - "Inverse" -> "Invert": use verb instead of noun for an action. - "Desination" -> "Destination": typo. - "Hides all other F-Curves other than the ones being framed": remove extra "other". - "Remove Bone from Bone collections" -> "Collection", singular because the operator is only applied to the active collection. Also title case on "Collection". - "Change Stroke material with selected material" -> "Assign the active material slot to the selected strokes": rephrase by reusing the message from the non-Grease Pencil materials. - "VisAction", "VisArea" -> "Visibility Action", "Visibility Area": expand abbreviation. This is not exposed in the UI right now but will show up in the API docs. - "Stop Mode Right / Global Down" -> "Stop Move" (typo). - "... for node input %s": remove extra space. - "Move along their normal" -> "Move shadows along their normal": rephrase unclear sentence. - "Stat Vis" -> "Mesh Analysis": stands for "Statistical visualization"? Unclear and not shown anywhere. Reuse the label specified in the UI code instead. - " Output data...": remove leading space. - "Attribute domain for the selection and group id inputs": title case on "Selection" and "Group ID" as that is how they appear in the UI. - "Ior" -> "IOR": uppercase acronym, for consistency. Pull Request: https://projects.blender.org/blender/blender/pulls/115964
This commit is contained in:
committed by
Hans Goudey
parent
6ebe196c0b
commit
6d70e9b05f
@@ -201,7 +201,7 @@ class NLA_OT_bake(Operator):
|
||||
)
|
||||
step: IntProperty(
|
||||
name="Frame Step",
|
||||
description="Frame Step",
|
||||
description="Number of frames to skip forward while baking each frame",
|
||||
min=1, max=120,
|
||||
default=1,
|
||||
)
|
||||
@@ -254,7 +254,7 @@ class NLA_OT_bake(Operator):
|
||||
('LOCATION', "Location", "Bake location channels"),
|
||||
('ROTATION', "Rotation", "Bake rotation channels"),
|
||||
('SCALE', "Scale", "Bake scale channels"),
|
||||
('BBONE', "B-Bone", "Bake b-bone channels"),
|
||||
('BBONE', "B-Bone", "Bake B-Bone channels"),
|
||||
),
|
||||
default={'LOCATION', 'ROTATION', 'SCALE', 'BBONE'},
|
||||
)
|
||||
|
||||
@@ -467,7 +467,7 @@ class RENDER_PT_eevee_next_volumes(RenderButtonsPanel, Panel):
|
||||
|
||||
|
||||
class RENDER_PT_eevee_next_volumes_lighting(RenderButtonsPanel, Panel):
|
||||
bl_label = "Volumes Lighting"
|
||||
bl_label = "Volume Lighting"
|
||||
bl_parent_id = "RENDER_PT_eevee_next_volumes"
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE_NEXT'}
|
||||
|
||||
@@ -482,7 +482,7 @@ class RENDER_PT_eevee_next_volumes_lighting(RenderButtonsPanel, Panel):
|
||||
|
||||
|
||||
class RENDER_PT_eevee_next_volumes_shadows(RenderButtonsPanel, Panel):
|
||||
bl_label = "Volumes Shadows"
|
||||
bl_label = "Volume Shadows"
|
||||
bl_parent_id = "RENDER_PT_eevee_next_volumes"
|
||||
COMPAT_ENGINES = {'BLENDER_EEVEE_NEXT'}
|
||||
|
||||
|
||||
@@ -5771,7 +5771,7 @@ class VIEW3D_MT_edit_greasepencil_animation(Menu):
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
layout.operator("grease_pencil.insert_blank_frame", text="Insert Blank Keyframe (Active Layer)")
|
||||
layout.operator("grease_pencil.insert_blank_frame", text="Insert Blank Keyframe (All Layer)").all_layers = True
|
||||
layout.operator("grease_pencil.insert_blank_frame", text="Insert Blank Keyframe (All Layers)").all_layers = True
|
||||
|
||||
|
||||
class VIEW3D_MT_edit_gpencil_transform(Menu):
|
||||
@@ -7157,7 +7157,7 @@ class VIEW3D_PT_overlay_edit_mesh_shading(Panel):
|
||||
statvis_active = not xray
|
||||
row = col.row()
|
||||
row.active = statvis_active
|
||||
row.prop(overlay, "show_statvis", text="Mesh Analysis")
|
||||
row.prop(overlay, "show_statvis")
|
||||
if overlay.show_statvis:
|
||||
col = col.column()
|
||||
col.active = statvis_active
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# This sample shows the an efficient way of doing image processing
|
||||
# This sample shows an efficient way of doing image processing
|
||||
# over Blender's images using Python.
|
||||
|
||||
import bpy
|
||||
@@ -19,7 +19,7 @@ pixel_data = np.zeros((w, h, 4), 'f')
|
||||
input_image.pixels.foreach_get(pixel_data.ravel())
|
||||
|
||||
# Do whatever image processing you want using numpy here:
|
||||
# Example 1: Inverse red green and blue channels.
|
||||
# Example 1: Invert red green and blue channels.
|
||||
pixel_data[:, :, :3] = 1.0 - pixel_data[:, :, :3]
|
||||
# Example 2: Change gamma on the red channel.
|
||||
pixel_data[:, :, 0] = np.power(pixel_data[:, :, 0], 1.5)
|
||||
|
||||
Reference in New Issue
Block a user