Fix typos in various src/Mod directories
This commit is contained in:
@@ -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()))
|
||||
|
||||
@@ -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("");
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user