Skip to content
Permalink
Browse files

Port to 2.78 - 0.4.1 changes - Changed tooltips in editmesh_add.c, ed…

…itmesh_intersect.c, editmesh_knife.c, editmesh_select.c, object_bake_api.c, object_data_transfer.c, object_edit.c, object_relations.c

Issue: http://www.bforartists.de/content/port-278-041-changes
  • Loading branch information...
ReinerBforartists committed Jan 28, 2017
1 parent ff06e64 commit 00686e0fde5008cce420906e91baeacfdf54ac85
@@ -135,7 +135,7 @@ void MESH_OT_primitive_plane_add(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Add Plane";
ot->description = "Construct a filled planar mesh with 4 vertices";
ot->description = "Add Plane\nConstruct a filled planar mesh with 4 vertices";
ot->idname = "MESH_OT_primitive_plane_add";

/* api callbacks */
@@ -187,7 +187,7 @@ void MESH_OT_primitive_cube_add(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Add Cube";
ot->description = "Construct a cube mesh";
ot->description = "Add Cube\nConstruct a cube mesh";
ot->idname = "MESH_OT_primitive_cube_add";

/* api callbacks */
@@ -249,7 +249,7 @@ void MESH_OT_primitive_circle_add(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Add Circle";
ot->description = "Construct a circle mesh";
ot->description = "Add Circle\nConstruct a circle mesh";
ot->idname = "MESH_OT_primitive_circle_add";

/* api callbacks */
@@ -311,7 +311,7 @@ void MESH_OT_primitive_cylinder_add(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Add Cylinder";
ot->description = "Construct a cylinder mesh";
ot->description = "Add Cylinder\nConstruct a cylinder mesh";
ot->idname = "MESH_OT_primitive_cylinder_add";

/* api callbacks */
@@ -371,7 +371,7 @@ void MESH_OT_primitive_cone_add(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Add Cone";
ot->description = "Construct a conic mesh";
ot->description = "Add Cone\nConstruct a conic mesh";
ot->idname = "MESH_OT_primitive_cone_add";

/* api callbacks */
@@ -430,7 +430,7 @@ void MESH_OT_primitive_grid_add(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Add Grid";
ot->description = "Construct a grid mesh";
ot->description = "Add Grid\nConstruct a grid mesh";
ot->idname = "MESH_OT_primitive_grid_add";

/* api callbacks */
@@ -472,10 +472,6 @@ static int add_primitive_monkey_exec(bContext *C, wmOperator *op)

em = BKE_editmesh_from_object(obedit);

if (calc_uvs) {
ED_mesh_uv_texture_ensure(obedit->data, NULL);
}

if (!EDBM_op_call_and_selectf(
em, op, "verts.out", false,
"create_monkey matrix=%m4 calc_uvs=%b", mat, calc_uvs))
@@ -492,7 +488,7 @@ void MESH_OT_primitive_monkey_add(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Add Monkey";
ot->description = "Construct a Suzanne mesh";
ot->description = "Add Monkey\nConstruct a Suzanne mesh";
ot->idname = "MESH_OT_primitive_monkey_add";

/* api callbacks */
@@ -545,7 +541,7 @@ void MESH_OT_primitive_uv_sphere_add(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Add UV Sphere";
ot->description = "Construct a UV sphere mesh";
ot->description = "Add UV Sphere\nConstruct a UV sphere mesh";
ot->idname = "MESH_OT_primitive_uv_sphere_add";

/* api callbacks */
@@ -601,7 +597,7 @@ void MESH_OT_primitive_ico_sphere_add(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Add Ico Sphere";
ot->description = "Construct an Icosphere mesh";
ot->description = "Add Ico Sphere\nConstruct an Icosphere mesh";
ot->idname = "MESH_OT_primitive_ico_sphere_add";

/* api callbacks */
@@ -191,8 +191,8 @@ void MESH_OT_intersect(struct wmOperatorType *ot)
};

/* identifiers */
ot->name = "Intersect (Knife)";
ot->description = "Cut an intersection into faces";
ot->name = "Intersect";
ot->description = "Intersect\nCut an intersection into faces";
ot->idname = "MESH_OT_intersect";

/* api callbacks */
@@ -868,8 +868,8 @@ static int edbm_face_split_by_edges_exec(bContext *C, wmOperator *UNUSED(op))
void MESH_OT_face_split_by_edges(struct wmOperatorType *ot)
{
/* identifiers */
ot->name = "Weld Edges into Faces";
ot->description = "Weld loose edges into faces (splitting them into new faces)";
ot->name = "Split by Edges";
ot->description = "Split by Edges\nSplit faces by loose edges";
ot->idname = "MESH_OT_face_split_by_edges";

/* api callbacks */
@@ -2948,7 +2948,7 @@ void MESH_OT_knife_tool(wmOperatorType *ot)
/* description */
ot->name = "Knife Topology Tool";
ot->idname = "MESH_OT_knife_tool";
ot->description = "Cut new topology";
ot->description = "Knife Topology Tool\nCut new topology\nKnife tool cuts through all geometry\nKnife Select tool cuts just through the selected geometry";

/* callbacks */
ot->invoke = knifetool_invoke;
@@ -1192,7 +1192,7 @@ void MESH_OT_select_similar(wmOperatorType *ot)
/* identifiers */
ot->name = "Select Similar";
ot->idname = "MESH_OT_select_similar";
ot->description = "Select similar vertices, edges or faces by property types";
ot->description = "Select Similar\nSelect similar vertices, edges or faces by property types";

/* api callbacks */
ot->invoke = WM_menu_invoke;
@@ -1291,7 +1291,7 @@ void MESH_OT_select_similar_region(wmOperatorType *ot)
/* identifiers */
ot->name = "Select Similar Regions";
ot->idname = "MESH_OT_select_similar_region";
ot->description = "Select similar face regions to the current selection";
ot->description = "Select Similar Regions\nSelect similar face regions to the current selection";

/* api callbacks */
ot->exec = edbm_select_similar_region_exec;
@@ -1352,7 +1352,7 @@ void MESH_OT_select_mode(wmOperatorType *ot)
/* identifiers */
ot->name = "Select Mode";
ot->idname = "MESH_OT_select_mode";
ot->description = "Change selection mode";
ot->description = "Select Mode\nChange selection mode";

/* api callbacks */
ot->invoke = edbm_select_mode_invoke;
@@ -1480,7 +1480,7 @@ void MESH_OT_loop_multi_select(wmOperatorType *ot)
/* identifiers */
ot->name = "Multi Select Loops";
ot->idname = "MESH_OT_loop_multi_select";
ot->description = "Select a loop of connected edges by connection type";
ot->description = "Multi Select Loops\nSelect a loop of connected edges by connection type";

/* api callbacks */
ot->exec = edbm_loop_multiselect_exec;
@@ -1697,7 +1697,7 @@ void MESH_OT_loop_select(wmOperatorType *ot)
/* identifiers */
ot->name = "Loop Select";
ot->idname = "MESH_OT_loop_select";
ot->description = "Select a loop of connected edges";
ot->description = "Loop Select\nSelect a loop of connected edges";

/* api callbacks */
ot->invoke = edbm_select_loop_invoke;
@@ -1718,7 +1718,7 @@ void MESH_OT_edgering_select(wmOperatorType *ot)
/* description */
ot->name = "Edge Ring Select";
ot->idname = "MESH_OT_edgering_select";
ot->description = "Select an edge ring";
ot->description = "Edge Ring Select\nSelect an edge ring";

/* callbacks */
ot->invoke = edbm_select_loop_invoke;
@@ -1766,7 +1766,7 @@ void MESH_OT_select_all(wmOperatorType *ot)
/* identifiers */
ot->name = "(De)select All";
ot->idname = "MESH_OT_select_all";
ot->description = "(De)select all vertices, edges or faces";
ot->description = "(De)select All\n(De)select all vertices, edges or faces";

/* api callbacks */
ot->exec = edbm_select_all_exec;
@@ -1799,7 +1799,7 @@ void MESH_OT_select_interior_faces(wmOperatorType *ot)
/* identifiers */
ot->name = "Select Interior Faces";
ot->idname = "MESH_OT_select_interior_faces";
ot->description = "Select faces where all edges have more than 2 face users";
ot->description = "Select Interior Faces\nSelect faces where all edges have more than 2 face users";

/* api callbacks */
ot->exec = edbm_faces_select_interior_exec;
@@ -2645,7 +2645,7 @@ void MESH_OT_select_linked(wmOperatorType *ot)
/* identifiers */
ot->name = "Select Linked All";
ot->idname = "MESH_OT_select_linked";
ot->description = "Select all vertices linked to the active mesh";
ot->description = "Select Linked All\nSelect all vertices linked to the active mesh";

/* api callbacks */
ot->exec = edbm_select_linked_exec;
@@ -2863,7 +2863,7 @@ void MESH_OT_select_linked_pick(wmOperatorType *ot)
/* identifiers */
ot->name = "Select Linked";
ot->idname = "MESH_OT_select_linked_pick";
ot->description = "(De)select all vertices linked to the edge under the mouse cursor";
ot->description = "Select Linked\n(De)select all vertices linked to the edge under the mouse cursor";

/* api callbacks */
ot->invoke = edbm_select_linked_pick_invoke;
@@ -2944,7 +2944,7 @@ void MESH_OT_select_face_by_sides(wmOperatorType *ot)

/* identifiers */
ot->name = "Select Faces by Sides";
ot->description = "Select vertices or faces by the number of polygon sides";
ot->description = "Select Faces by Sides\nSelect vertices or faces by the number of polygon sides";
ot->idname = "MESH_OT_select_face_by_sides";

/* api callbacks */
@@ -3017,7 +3017,7 @@ void MESH_OT_select_loose(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Select Loose Geometry";
ot->description = "Select loose geometry based on the selection mode";
ot->description = "Select Loose Geometry\nSelect loose geometry based on the selection mode";
ot->idname = "MESH_OT_select_loose";

/* api callbacks */
@@ -3063,7 +3063,7 @@ void MESH_OT_select_mirror(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Select Mirror";
ot->description = "Select mesh items at mirrored locations";
ot->description = "Select Mirror\nSelect mesh items at mirrored locations";
ot->idname = "MESH_OT_select_mirror";

/* api callbacks */
@@ -3098,7 +3098,7 @@ void MESH_OT_select_more(wmOperatorType *ot)
/* identifiers */
ot->name = "Select More";
ot->idname = "MESH_OT_select_more";
ot->description = "Select more vertices, edges or faces connected to initial selection";
ot->description = "Select More\nSelect more vertices, edges or faces connected to initial selection";

/* api callbacks */
ot->exec = edbm_select_more_exec;
@@ -3127,7 +3127,7 @@ void MESH_OT_select_less(wmOperatorType *ot)
/* identifiers */
ot->name = "Select Less";
ot->idname = "MESH_OT_select_less";
ot->description = "Deselect vertices, edges or faces at the boundary of each selection region";
ot->description = "Select Less\nDeselect vertices, edges or faces at the boundary of each selection region";

/* api callbacks */
ot->exec = edbm_select_less_exec;
@@ -3347,7 +3347,7 @@ void MESH_OT_select_nth(wmOperatorType *ot)
/* identifiers */
ot->name = "Checker Deselect";
ot->idname = "MESH_OT_select_nth";
ot->description = "Deselect every Nth element starting from the active vertex, edge or face";
ot->description = "Checker Deselect\nDeselect every Nth element starting from the active vertex, edge or face";

/* api callbacks */
ot->exec = edbm_select_nth_exec;
@@ -3406,7 +3406,7 @@ void MESH_OT_edges_select_sharp(wmOperatorType *ot)

/* identifiers */
ot->name = "Select Sharp Edges";
ot->description = "Select all sharp-enough edges";
ot->description = "Select Sharp Edges\nSelect all sharp-enough edges";
ot->idname = "MESH_OT_edges_select_sharp";

/* api callbacks */
@@ -3487,7 +3487,7 @@ void MESH_OT_faces_select_linked_flat(wmOperatorType *ot)

/* identifiers */
ot->name = "Select Linked Flat Faces";
ot->description = "Select linked faces by angle";
ot->description = "Select Linked Flat Faces\nSelect linked faces by angle";
ot->idname = "MESH_OT_faces_select_linked_flat";

/* api callbacks */
@@ -3568,7 +3568,7 @@ void MESH_OT_select_non_manifold(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Select Non Manifold";
ot->description = "Select all non-manifold vertices or edges";
ot->description = "Select Non Manifold\nSelect all non-manifold vertices or edges";
ot->idname = "MESH_OT_select_non_manifold";

/* api callbacks */
@@ -3650,7 +3650,7 @@ void MESH_OT_select_random(wmOperatorType *ot)
{
/* identifiers */
ot->name = "Select Random";
ot->description = "Randomly select vertices";
ot->description = "Select Random\nRandomly select vertices";
ot->idname = "MESH_OT_select_random";

/* api callbacks */
@@ -3718,7 +3718,7 @@ void MESH_OT_select_ungrouped(wmOperatorType *ot)
/* identifiers */
ot->name = "Select Ungrouped";
ot->idname = "MESH_OT_select_ungrouped";
ot->description = "Select vertices without a group";
ot->description = "Select Ungrouped\nSelect vertices without a group";

/* api callbacks */
ot->exec = edbm_select_ungrouped_exec;
@@ -3800,7 +3800,7 @@ void MESH_OT_select_axis(wmOperatorType *ot)

/* identifiers */
ot->name = "Select Axis";
ot->description = "Select all data in the mesh on a single axis";
ot->description = "Select Axis\nSelect all data in the mesh on a single axis";
ot->idname = "MESH_OT_select_axis";

/* api callbacks */
@@ -3869,7 +3869,7 @@ void MESH_OT_region_to_loop(wmOperatorType *ot)
/* identifiers */
ot->name = "Select Boundary Loop";
ot->idname = "MESH_OT_region_to_loop";
ot->description = "Select boundary edges around the selected faces";
ot->description = "Select Boundary Loop\nSelect boundary edges around the selected faces";

/* api callbacks */
ot->exec = edbm_region_to_loop_exec;
@@ -4059,7 +4059,7 @@ void MESH_OT_loop_to_region(wmOperatorType *ot)
/* identifiers */
ot->name = "Select Loop Inner-Region";
ot->idname = "MESH_OT_loop_to_region";
ot->description = "Select region of faces inside of a selected loop of edges";
ot->description = "Select Loop Inner-Region\nSelect region of faces inside of a selected loop of edges";

/* api callbacks */
ot->exec = edbm_loop_to_region_exec;
@@ -1428,7 +1428,7 @@ void OBJECT_OT_bake(wmOperatorType *ot)

/* identifiers */
ot->name = "Bake";
ot->description = "Bake image textures of selected objects";
ot->description = "Bake\nBake image textures of selected objects";
ot->idname = "OBJECT_OT_bake";

/* api callbacks */
@@ -536,7 +536,7 @@ void OBJECT_OT_data_transfer(wmOperatorType *ot)
/* Identifiers.*/
ot->name = "Transfer Mesh Data";
ot->idname = "OBJECT_OT_data_transfer";
ot->description = "Transfer data layer(s) (weights, edge sharp, ...) from active to selected meshes";
ot->description = "Transfer Mesh Data\nTransfer data layer(s) (weights, edge sharp, ...) from active to selected meshes";

/* API callbacks.*/
ot->poll = data_transfer_poll;
@@ -698,7 +698,7 @@ void OBJECT_OT_datalayout_transfer(wmOperatorType *ot)
PropertyRNA *prop;

ot->name = "Transfer Mesh Data Layout";
ot->description = "Transfer layout of data layer(s) from active to selected meshes";
ot->description = "Transfer Mesh Data Layout\nTransfer layout of data layer(s) from active to selected meshes";
ot->idname = "OBJECT_OT_datalayout_transfer";

ot->poll = datalayout_transfer_poll;

0 comments on commit 00686e0

Please sign in to comment.
You can’t perform that action at this time.