Fix typos in various src/Mod directories

This commit is contained in:
luz.paz
2019-07-19 15:34:46 -04:00
committed by wmayer
parent 63a577fe07
commit b869b6e29e
7 changed files with 7 additions and 7 deletions

View File

@@ -717,7 +717,7 @@ bool SoBrepFaceSet::overrideMaterialBinding(SoGLRenderAction *action, SelContext
//
// Criteria of using material binding override:
// 1) original material binding is either overall or per_part. We can
// support others, but ommitted here to simplify coding logic, and
// support others, but omitted here to simplify coding logic, and
// because it seems FC only uses these two.
// 2) either of the following :
// a) has highlight or selection and Selection().needPickPoint, so that

View File

@@ -155,7 +155,7 @@ SoSeparator* ViewProvider2DObject::createGrid(void)
// pre-selection highlight. No idea why the setting can leak out of a
// separator.
//
// What's the purpose of using SoDepthBuffer here anyway? If the intension
// What's the purpose of using SoDepthBuffer here anyway? If the intention
// is to render grid always on top, shouldn't it be better to use
// SoAnnotation?
#if 0

View File

@@ -513,7 +513,7 @@ App::DocumentObject *Body::getSubObject(const char *subname,
(subname && !Data::ComplexGeoData::isMappedElement(subname) && strchr(subname,'.')))
return Part::BodyBase::getSubObject(subname,pyObj,pmat,transform,depth);
// We return the shape only if there are feature visibile inside
// We return the shape only if there are feature visible inside
for(auto obj : Group.getValues()) {
if(obj->Visibility.getValue() &&
obj->isDerivedFrom(PartDesign::Feature::getClassTypeId()))

View File

@@ -538,7 +538,7 @@ void SubShapeBinder::setLinks(std::map<App::DocumentObject *, std::vector<std::s
if(!v.first || !v.first->getNameInDocument())
FC_THROWM(Base::ValueError,"Invalid document object");
if(inSet.find(v.first)!=inSet.end())
FC_THROWM(Base::ValueError, "Cyclic referece to " << v.first->getFullName());
FC_THROWM(Base::ValueError, "Cyclic reference to " << v.first->getFullName());
if(v.second.empty()) {
v.second.push_back("");

View File

@@ -200,7 +200,7 @@ PROPERTY_SOURCE(PartDesignGui::ViewProviderSubShapeBinder,PartGui::ViewProviderP
ViewProviderSubShapeBinder::ViewProviderSubShapeBinder() {
sPixmap = "PartDesign_SubShapeBinder.svg";
//get the datum coloring sheme
//get the datum coloring scheme
// set default color for datums (golden yellow with 60% transparency)
ParameterGrp::handle hGrp = App::GetApplication().GetParameterGroupByPath (
"User parameter:BaseApp/Preferences/Mod/PartDesign");

View File

@@ -1181,7 +1181,7 @@ void PropertySheet::renameObjectIdentifiers(const std::map<App::ObjectIdentifier
void PropertySheet::deletedDocumentObject(const App::DocumentObject *docObj)
{
(void)docObj;
// This function is only used in SheetObserver, which is obselete.
// This function is only used in SheetObserver, which is obsolete.
//
// if(docDeps.erase(const_cast<App::DocumentObject*>(docObj))) {
// const App::DocumentObject * docObj = dynamic_cast<const App::DocumentObject*>(getContainer());

View File

@@ -29,7 +29,7 @@ namespace Spreadsheet {
class PropertySheet;
// SheetObserver is obselete as PropertySheet is now derived from PropertyLinkBase
// SheetObserver is obsolete as PropertySheet is now derived from PropertyLinkBase
class SheetObserver : public App::DocumentObserver {
public:
SheetObserver(App::Document* document, PropertySheet *_sheet);