Surface, MeshPart: update CurveOnMesh command tooltip and task panel
* Add new icon `MeshPart_CurveOnMesh`, which is the same as the `Surface_CurveOnMesh` icon but in green color. The surface icon is used in the Surface Workbench, while the MeshPart version is currently not used. * Make the tooltip of the command shorter; the longer instructions are added in the `TaskCurveOnMesh` task panel.
This commit is contained in:
@@ -198,15 +198,8 @@ CmdSurfaceCurveOnMesh::CmdSurfaceCurveOnMesh()
|
||||
sAppModule = "MeshPart";
|
||||
sGroup = QT_TR_NOOP("Surface");
|
||||
sMenuText = QT_TR_NOOP("Curve on mesh...");
|
||||
sToolTipText = QT_TR_NOOP("Creates an approximated curve on top of the selected mesh.\n"
|
||||
"Press 'Start', then pick points on the mesh; "
|
||||
"when enough points have been set,\n"
|
||||
"right-click and choose 'Create'.\n"
|
||||
"\n"
|
||||
"This command only works with a 'mesh' object, "
|
||||
"not a regular face or surface.\n"
|
||||
"To convert an object to a mesh "
|
||||
"use the tools of the Mesh Workbench.");
|
||||
sToolTipText = QT_TR_NOOP("Creates an approximated curve on top of a mesh.\n"
|
||||
"This command only works with a 'mesh' object.");
|
||||
sWhatsThis = "Surface_CurveOnMesh";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "Surface_CurveOnMesh";
|
||||
|
||||
Reference in New Issue
Block a user