source typo fixes pt4 (only on py3 merged code)

This commit is contained in:
Kunda
2017-03-01 17:33:15 -05:00
committed by wmayer
parent 08f4fbcea9
commit 9410e751e9
50 changed files with 99 additions and 95 deletions

View File

@@ -164,7 +164,7 @@ void Workbench::setupContextMenu(const char* recipient, Gui::MenuItem* item) con
if ( selection.size () >= 1 ) {
App::DocumentObject *feature = selection.front().pObject;
PartDesign::Body *body = PartDesignGui::getBodyFor ( feature, false );
// lote of assertion so feature sould be marked as a tip
// lote of assertion so feature should be marked as a tip
if ( selection.size () == 1 && feature && (
feature->isDerivedFrom ( PartDesign::Body::getClassTypeId () ) ||
( feature->isDerivedFrom ( PartDesign::Feature::getClassTypeId () ) && body ) ||
@@ -191,7 +191,7 @@ void Workbench::setupContextMenu(const char* recipient, Gui::MenuItem* item) con
if ( addMoveFeature && !PartDesign::Body::isAllowed ( sel.pObject ) ) {
addMoveFeature = false;
}
// if all at lest one selected feature doesn't belongs to the same body
// if all at least one selected feature doesn't belong to the same body
// disable the menu entry
if ( addMoveFeatureInTree && !body->hasObject ( sel.pObject ) ) {
addMoveFeatureInTree = false;