Fix various typos
This commit is contained in:
@@ -1130,7 +1130,7 @@ DocumentObject *DocumentObject::resolve(const char *subname,
|
||||
auto sobj = getSubObject(std::string(subname,dot-subname+1).c_str());
|
||||
if(sobj!=obj) {
|
||||
if(parent) {
|
||||
// Link/LinkGroup has special visiblility handling of plain
|
||||
// Link/LinkGroup has special visibility handling of plain
|
||||
// group, so keep ascending
|
||||
if(!sobj->hasExtension(GroupExtension::getExtensionClassTypeId(),false)) {
|
||||
*parent = sobj;
|
||||
|
||||
@@ -71,7 +71,7 @@ PythonEditor::PythonEditor(QWidget* parent)
|
||||
d = new PythonEditorP();
|
||||
this->setSyntaxHighlighter(new PythonSyntaxHighlighter(this));
|
||||
|
||||
// set acelerators
|
||||
// set accelerators
|
||||
auto comment = new QShortcut(this);
|
||||
comment->setKey(QKeySequence(QString::fromLatin1("ALT+C")));
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ class View3DInventorViewer;
|
||||
*
|
||||
* The interface does not offer all methods the c++ View3DInventorViewer counterpart has, respectively
|
||||
* also not everything the QuarterWidget and the SoQtQuarterAdaptor offers. It only exposes
|
||||
* methods with additioanl functionality in comparison to the View3DInventorPy class. Everything that
|
||||
* methods with additional functionality in comparison to the View3DInventorPy class. Everything that
|
||||
* can be done from there has no interface here.
|
||||
*/
|
||||
class View3DInventorViewerPy : public Py::PythonExtension<View3DInventorViewerPy>
|
||||
|
||||
@@ -456,7 +456,7 @@ def getCoinCamera(camerastring):
|
||||
for child in node.getChildren():
|
||||
if ("SoOrthographicCamera" in str(child)) or ("SoPerspectiveCamera" in str(child)):
|
||||
return child
|
||||
print("unnable to build a camera node from string:",camerastring)
|
||||
print("unable to build a camera node from string:",camerastring)
|
||||
return None
|
||||
|
||||
|
||||
|
||||
@@ -1699,7 +1699,7 @@ CmdFemPostClipFilter::CmdFemPostClipFilter()
|
||||
sGroup = QT_TR_NOOP("Fem");
|
||||
sMenuText = QT_TR_NOOP("Region clip filter");
|
||||
sToolTipText =
|
||||
QT_TR_NOOP("Define/create a clip filter which uses functions to define the cliped region");
|
||||
QT_TR_NOOP("Define/create a clip filter which uses functions to define the clipped region");
|
||||
sWhatsThis = "FEM_PostFilterClipRegion";
|
||||
sStatusTip = sToolTipText;
|
||||
sPixmap = "FEM_PostFilterClipRegion";
|
||||
|
||||
@@ -413,7 +413,7 @@ TaskPostDisplay::TaskPostDisplay(Gui::ViewProviderDocumentObject* view, QWidget*
|
||||
updateEnumerationList(getTypedView<ViewProviderFemPostObject>()->Field, ui->Field);
|
||||
updateEnumerationList(getTypedView<ViewProviderFemPostObject>()->VectorMode, ui->VectorMode);
|
||||
|
||||
// get Tranparency from ViewProvider
|
||||
// get Transparency from ViewProvider
|
||||
int trans = getTypedView<ViewProviderFemPostObject>()->Transparency.getValue();
|
||||
Base::Console().Log("Transparency %i: \n", trans);
|
||||
// sync the trancparency slider
|
||||
|
||||
@@ -61,7 +61,7 @@ public:
|
||||
|
||||
/**
|
||||
* Add the feature into the body at the current insert point.
|
||||
* The insertion poin is the before next solid after the Tip feature
|
||||
* The insertion point is the before next solid after the Tip feature
|
||||
*/
|
||||
std::vector<App::DocumentObject*> addObject(App::DocumentObject*) override;
|
||||
std::vector< DocumentObject* > addObjects(std::vector< DocumentObject* > obj) override;
|
||||
|
||||
@@ -6367,7 +6367,7 @@ struct wide_string_input_helper<BaseInputAdapter, 2>
|
||||
}
|
||||
};
|
||||
|
||||
// Wraps another input apdater to convert wide character types into individual bytes.
|
||||
// Wraps another input adapter to convert wide character types into individual bytes.
|
||||
template<typename BaseInputAdapter, typename WideCharType>
|
||||
class wide_string_input_adapter
|
||||
{
|
||||
|
||||
@@ -94,7 +94,7 @@ protected Q_SLOTS:
|
||||
// Other Commands
|
||||
void doToggleConstruction();
|
||||
|
||||
// Acelerators
|
||||
// Accelerators
|
||||
void doSelectConstraints();
|
||||
void doSelectOrigin();
|
||||
void doSelectHAxis();
|
||||
|
||||
Reference in New Issue
Block a user