main sync #3

Merged
Patrick Busch merged 318 commits from blender/blender:main into main 2023-03-17 15:52:21 +01:00
5 changed files with 7 additions and 7 deletions
Showing only changes of commit d7a68a9de8 - Show all commits

View File

@ -726,7 +726,7 @@ class USERPREF_PT_viewport_display(ViewportPanel, CenterAlignMixIn, Panel):
col.separator() col.separator()
col.prop(view, "mini_axis_type", text="3D Viewport Axis") col.prop(view, "mini_axis_type", text="3D Viewport Axes")
if view.mini_axis_type == 'MINIMAL': if view.mini_axis_type == 'MINIMAL':
col.prop(view, "mini_axis_size", text="Size") col.prop(view, "mini_axis_size", text="Size")

View File

@ -1732,7 +1732,7 @@ void MASK_OT_hide_view_clear(wmOperatorType *ot)
/* identifiers */ /* identifiers */
ot->name = "Clear Restrict View"; ot->name = "Clear Restrict View";
ot->description = "Reveal the layer by setting the hide flag"; ot->description = "Reveal temporarily hidden mask layers";
ot->idname = "MASK_OT_hide_view_clear"; ot->idname = "MASK_OT_hide_view_clear";
/* api callbacks */ /* api callbacks */
@ -1792,7 +1792,7 @@ void MASK_OT_hide_view_set(wmOperatorType *ot)
{ {
/* identifiers */ /* identifiers */
ot->name = "Set Restrict View"; ot->name = "Set Restrict View";
ot->description = "Hide the layer by setting the hide flag"; ot->description = "Temporarily hide mask layers";
ot->idname = "MASK_OT_hide_view_set"; ot->idname = "MASK_OT_hide_view_set";
/* api callbacks */ /* api callbacks */

View File

@ -826,7 +826,7 @@ static void rna_def_mask_splines(BlenderRNA *brna)
NULL, NULL,
NULL); NULL);
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_UNLINK); RNA_def_property_flag(prop, PROP_EDITABLE | PROP_NEVER_UNLINK);
RNA_def_property_ui_text(prop, "Active Spline", "Active spline of masking layer"); RNA_def_property_ui_text(prop, "Active Point", "Active point of masking layer");
} }
static void rna_def_maskSplinePoints(BlenderRNA *brna) static void rna_def_maskSplinePoints(BlenderRNA *brna)

View File

@ -4779,7 +4779,7 @@ static void rna_def_userdef_view(BlenderRNA *brna)
/* mini axis */ /* mini axis */
static const EnumPropertyItem mini_axis_type_items[] = { static const EnumPropertyItem mini_axis_type_items[] = {
{USER_MINI_AXIS_TYPE_NONE, "NONE", 0, "Off", ""}, {USER_MINI_AXIS_TYPE_NONE, "NONE", 0, "Off", ""},
{USER_MINI_AXIS_TYPE_MINIMAL, "MINIMAL", 0, "Simple Axis", ""}, {USER_MINI_AXIS_TYPE_MINIMAL, "MINIMAL", 0, "Simple Axes", ""},
{USER_MINI_AXIS_TYPE_GIZMO, "GIZMO", 0, "Interactive Navigation", ""}, {USER_MINI_AXIS_TYPE_GIZMO, "GIZMO", 0, "Interactive Navigation", ""},
{0, NULL, 0, NULL, NULL}, {0, NULL, 0, NULL, NULL},
}; };
@ -4789,7 +4789,7 @@ static void rna_def_userdef_view(BlenderRNA *brna)
RNA_def_property_ui_text( RNA_def_property_ui_text(
prop, prop,
"Mini Axes Type", "Mini Axes Type",
"Show a small rotating 3D axes in the top right corner of the 3D viewport"); "Show small rotating 3D axes in the top right corner of the 3D viewport");
RNA_def_property_update(prop, 0, "rna_userdef_gizmo_update"); RNA_def_property_update(prop, 0, "rna_userdef_gizmo_update");
prop = RNA_def_property(srna, "mini_axis_size", PROP_INT, PROP_PIXEL); prop = RNA_def_property(srna, "mini_axis_size", PROP_INT, PROP_PIXEL);

View File

@ -337,7 +337,7 @@ DefNode(GeometryNode, GEO_NODE_INPUT_MESH_EDGE_ANGLE, 0, "MESH_EDGE_ANGLE", Inpu
DefNode(GeometryNode, GEO_NODE_INPUT_MESH_EDGE_NEIGHBORS, 0, "MESH_EDGE_NEIGHBORS",InputMeshEdgeNeighbors, "Edge Neighbors", "Retrieve the number of faces that use each edge as one of their sides") DefNode(GeometryNode, GEO_NODE_INPUT_MESH_EDGE_NEIGHBORS, 0, "MESH_EDGE_NEIGHBORS",InputMeshEdgeNeighbors, "Edge Neighbors", "Retrieve the number of faces that use each edge as one of their sides")
DefNode(GeometryNode, GEO_NODE_INPUT_MESH_EDGE_VERTICES, 0, "MESH_EDGE_VERTICES", InputMeshEdgeVertices, "Edge Vertices", "Retrieve topology information relating to each edge of a mesh") DefNode(GeometryNode, GEO_NODE_INPUT_MESH_EDGE_VERTICES, 0, "MESH_EDGE_VERTICES", InputMeshEdgeVertices, "Edge Vertices", "Retrieve topology information relating to each edge of a mesh")
DefNode(GeometryNode, GEO_NODE_INPUT_MESH_FACE_AREA, 0, "MESH_FACE_AREA", InputMeshFaceArea, "Face Area", "Calculate the surface area of a mesh's faces") DefNode(GeometryNode, GEO_NODE_INPUT_MESH_FACE_AREA, 0, "MESH_FACE_AREA", InputMeshFaceArea, "Face Area", "Calculate the surface area of a mesh's faces")
DefNode(GeometryNode, GEO_NODE_INPUT_MESH_FACE_IS_PLANAR, 0, "MESH_FACE_IS_PLANAR",InputMeshFaceIsPlanar, "Is Face Planar", "Retrieve whether all triangles in a face are on the same plane, i.e. whether have the same normal") DefNode(GeometryNode, GEO_NODE_INPUT_MESH_FACE_IS_PLANAR, 0, "MESH_FACE_IS_PLANAR", InputMeshFaceIsPlanar, "Is Face Planar", "Retrieve whether all triangles in a face are on the same plane, i.e. whether they have the same normal")
DefNode(GeometryNode, GEO_NODE_INPUT_MESH_FACE_NEIGHBORS, 0, "MESH_FACE_NEIGHBORS",InputMeshFaceNeighbors, "Face Neighbors", "Retrieve topology information relating to each face of a mesh") DefNode(GeometryNode, GEO_NODE_INPUT_MESH_FACE_NEIGHBORS, 0, "MESH_FACE_NEIGHBORS",InputMeshFaceNeighbors, "Face Neighbors", "Retrieve topology information relating to each face of a mesh")
DefNode(GeometryNode, GEO_NODE_INPUT_MESH_ISLAND, 0, "MESH_ISLAND", InputMeshIsland, "Mesh Island", "Retrieve information about separate connected regions in a mesh") DefNode(GeometryNode, GEO_NODE_INPUT_MESH_ISLAND, 0, "MESH_ISLAND", InputMeshIsland, "Mesh Island", "Retrieve information about separate connected regions in a mesh")
DefNode(GeometryNode, GEO_NODE_INPUT_MESH_VERTEX_NEIGHBORS, 0, "MESH_VERTEX_NEIGHBORS", InputMeshVertexNeighbors, "Vertex Neighbors", "Retrieve topology information relating to each vertex of a mesh") DefNode(GeometryNode, GEO_NODE_INPUT_MESH_VERTEX_NEIGHBORS, 0, "MESH_VERTEX_NEIGHBORS", InputMeshVertexNeighbors, "Vertex Neighbors", "Retrieve topology information relating to each vertex of a mesh")