+ whitespacee/typo fixes
This commit is contained in:
parent
11239b034c
commit
6b6070281e
|
@ -209,7 +209,7 @@ Action * StdCmdAbout::createAction(void)
|
|||
pcAction->setShortcut(QString::fromAscii(sAccel));
|
||||
//Prevent Qt from using AboutRole -- fixes issue #0001485
|
||||
pcAction->setMenuRole(QAction::ApplicationSpecificRole);
|
||||
|
||||
|
||||
return pcAction;
|
||||
}
|
||||
|
||||
|
|
|
@ -205,7 +205,7 @@ bool Document::setEdit(Gui::ViewProvider* p, int ModNum)
|
|||
return false;
|
||||
|
||||
View3DInventor *activeView = dynamic_cast<View3DInventor *>(getActiveView());
|
||||
// if the currently active view is not te 3d view search for it and activate it
|
||||
// if the currently active view is not the 3d view search for it and activate it
|
||||
if (!activeView) {
|
||||
activeView = dynamic_cast<View3DInventor *>(getViewOfViewProvider(p));
|
||||
if (activeView)
|
||||
|
|
|
@ -159,7 +159,7 @@ public:
|
|||
/// Attach a view (get called by the MDIView constructor)
|
||||
void attachView(Gui::BaseView* pcView, bool bPassiv=false);
|
||||
/// Detach a view (get called by the MDIView destructor)
|
||||
void detachView(Gui::BaseView* pcView, bool bPassiv=false);
|
||||
void detachView(Gui::BaseView* pcView, bool bPassiv=false);
|
||||
/// helper for selection
|
||||
ViewProvider* getViewProviderByPathFromTail(SoPath * path) const;
|
||||
/// call update on all attached views
|
||||
|
|
|
@ -306,7 +306,7 @@ int PolyPickerSelection::mouseButtonEvent(const SoMouseButtonEvent* const e, con
|
|||
const int button = e->getButton();
|
||||
const SbBool press = e->getState() == SoButtonEvent::DOWN ? TRUE : FALSE;
|
||||
|
||||
if(press) {
|
||||
if (press) {
|
||||
switch(button)
|
||||
{
|
||||
case SoMouseButtonEvent::BUTTON1:
|
||||
|
@ -664,4 +664,3 @@ void BoxZoomSelection::terminate()
|
|||
SbBox2s box(xmin, ymin, xmax, ymax);
|
||||
_pcView3D->boxZoom(box);
|
||||
}
|
||||
|
||||
|
|
|
@ -171,7 +171,7 @@ class GuiExport BrushSelection : public PolyPickerSelection
|
|||
{
|
||||
public:
|
||||
BrushSelection();
|
||||
~BrushSelection();
|
||||
virtual ~BrushSelection();
|
||||
|
||||
void setLineWidth(float l);
|
||||
void setClosed(bool c);
|
||||
|
|
|
@ -435,7 +435,7 @@ void StdWorkbench::setupContextMenu(const char* recipient, MenuItem* item) const
|
|||
*item << "Separator" << "Std_SetAppearance" << "Std_ToggleVisibility"
|
||||
<< "Std_ToggleSelectability" << "Std_TreeSelection"
|
||||
<< "Std_RandomColor" << "Separator" << "Std_Delete";
|
||||
}
|
||||
}
|
||||
}
|
||||
else if (strcmp(recipient,"Tree") == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user