Allow faces to be profiles for a sweep & minor fix loft

Allow faces to be used as the profiles for a Part_Sweep
some minor fixes for Part_Loft
This commit is contained in:
jmaustpc
2013-03-10 04:28:38 +11:00
committed by Yorik van Havre
parent 0a7a9d9cf2
commit a3ef789f5a
3 changed files with 12 additions and 7 deletions

View File

@@ -69,7 +69,7 @@ LoftWidget::LoftWidget(QWidget* parent)
Gui::Application::Instance->runPythonCode("import Part");
d->ui.setupUi(this);
d->ui.selector->setAvailableLabel(tr("Vertex/Wire/Face"));
d->ui.selector->setAvailableLabel(tr("Vertex/Edge/Wire/Face"));
d->ui.selector->setSelectedLabel(tr("Loft"));
connect(d->ui.selector->availableTreeWidget(), SIGNAL(currentItemChanged(QTreeWidgetItem*, QTreeWidgetItem*)),
@@ -188,7 +188,7 @@ void LoftWidget::changeEvent(QEvent *e)
QWidget::changeEvent(e);
if (e->type() == QEvent::LanguageChange) {
d->ui.retranslateUi(this);
d->ui.selector->setAvailableLabel(tr("Vertex/Wire/Face"));
d->ui.selector->setAvailableLabel(tr("Vertex/Edge/Wire/Face"));
d->ui.selector->setSelectedLabel(tr("Loft"));
}
}