From: Eduardo DAVILA Date: Fri, 5 Nov 2021 07:07:18 +0000 (+0100) Subject: #3229 vtk8itk4wx3-mingw64 MACOS X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7885dc60de70da1fabff4bbf65096618dbfd0bbe;p=bbtkGEditor.git #3229 vtk8itk4wx3-mingw64 MACOS --- diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx index 8b61e58..6c6b1b0 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx @@ -1148,13 +1148,9 @@ bool wxVtkSceneManager::OnChar() _parent->saveTempandUpdate("delete object"); }// if keyCode - /// Duplicate -#ifdef MACOSX - if((keyCode==0) && (ctrlkey==1)) { -#else + // Duplicate ctrlkey+=keyCode; if(ctrlkey==5){ -#endif if(_selectedObjects.size()){ std::cout<<"objects to copy :"; for(int i=0;i<_selectedObjects.size();i++)