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 0f67e8ddfa
commit 039d6eac01
7 changed files with 7 additions and 7 deletions

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");