+ fix problems on unit tests, open transaction when creating distance object, layout warning, ...
This commit is contained in:
@@ -172,7 +172,6 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
<< "Std_TextureMapping" << "Separator" << visu
|
||||
<< "Std_ToggleVisibility" << "Std_ToggleNavigation"
|
||||
<< "Std_SetAppearance" << "Std_RandomColor" << "Separator"
|
||||
<< "Std_MeasureDistance" << "Separator"
|
||||
<< "Std_Workbench" << "Std_ToolBarMenu" << "Std_DockViewMenu" << "Separator"
|
||||
<< "Std_ViewStatusBar";
|
||||
|
||||
@@ -183,7 +182,8 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
<< "Std_DlgMacroRecord" << "Std_MacroStopRecord"
|
||||
<< "Std_DlgMacroExecute" << "Std_DlgMacroExecuteDirect"
|
||||
<< "Separator" << "Std_ViewScreenShot" << "Std_SceneInspector"
|
||||
<< "Std_ExportGraphviz" << "Std_ProjectUtil"
|
||||
<< "Std_ExportGraphviz" << "Std_ProjectUtil" << "Separator"
|
||||
<< "Std_MeasureDistance" << "Separator"
|
||||
<< "Std_DemoMode" << "Separator" << "Std_DlgCustomize";
|
||||
|
||||
// Mesh ****************************************************************************************************
|
||||
|
||||
@@ -52,7 +52,10 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
Gui::ToolBarItem* root = StdWorkbench::setupToolBars();
|
||||
Gui::ToolBarItem* part = new Gui::ToolBarItem(root);
|
||||
part->setCommand("Image");
|
||||
*part << "Image_Open" << "Image_CreateImagePlane"<< "Image_CapturerTest";
|
||||
*part << "Image_Open" << "Image_CreateImagePlane";
|
||||
#if HAVE_OPENCV2
|
||||
*part << "Image_CapturerTest";
|
||||
#endif
|
||||
return root;
|
||||
}
|
||||
|
||||
@@ -61,7 +64,9 @@ Gui::ToolBarItem* Workbench::setupCommandBars() const
|
||||
Gui::ToolBarItem* root = new Gui::ToolBarItem;
|
||||
Gui::ToolBarItem* img = new Gui::ToolBarItem(root);
|
||||
img->setCommand("Image");
|
||||
*img << "Image_Open" << "Image_CapturerTest";
|
||||
*img << "Image_Open";
|
||||
#if HAVE_OPENCV2
|
||||
*img << "Image_CapturerTest";
|
||||
#endif
|
||||
return root;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user