From 7885dc60de70da1fabff4bbf65096618dbfd0bbe Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Fri, 5 Nov 2021 08:07:18 +0100 Subject: [PATCH] #3229 vtk8itk4wx3-mingw64 MACOS --- .../bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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++) -- 2.45.1