Part: activate Part_ColorPerFace in the menu and toolbar
According to the source this command was deactivated until issue #0477 and hence #1954 could be solved. However, since those issues haven't been addressed the command has remained hidden for a long time. This command does not work with objects that reimplement their edit modes, meaning that it may work with Part and PartDesign created objects but not with Draft and Arch objects. The command is added to the standard `View` menu, and to one `Part tools` toolbar so that it is no longer hidden. The limitations of the command can be described in the documentation, and then somebody else can help solve the problem with the edit modes. A new icon for the command is also provided.
This commit is contained in:
@@ -2158,9 +2158,18 @@ CmdColorPerFace::CmdColorPerFace()
|
||||
sAppModule = "Part";
|
||||
sGroup = QT_TR_NOOP("Part");
|
||||
sMenuText = QT_TR_NOOP("Color per face");
|
||||
sToolTipText = QT_TR_NOOP("Set color per face");
|
||||
sToolTipText = QT_TR_NOOP("Set the color of each individual face "
|
||||
"of the selected object.\n"
|
||||
"\n"
|
||||
"At the moment, this command only works "
|
||||
"with objects which have not reimplemented\n"
|
||||
"their 'edit modes'; this means, it works "
|
||||
"with Part and PartDesign created objects,\n"
|
||||
"but not with most Draft or Arch objects. "
|
||||
"See issues #0477 and #1954 in the tracker.");
|
||||
sStatusTip = sToolTipText;
|
||||
sWhatsThis = "Part_ColorPerFace";
|
||||
sPixmap = "Part_ColorFace";
|
||||
}
|
||||
|
||||
void CmdColorPerFace::activated(int iMsg)
|
||||
|
||||
Reference in New Issue
Block a user