From: eduardo.davila@creatis.insa-lyon.fr Date: Wed, 4 Feb 2026 15:36:57 +0000 (+0100) Subject: Clean code X-Git-Url: http://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=66f2ab62c1fdd77730f8fdb74b497cea98155d12;p=bbtkGEditor.git Clean code --- diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx index 0d4578b..cf208cb 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx @@ -1987,14 +1987,10 @@ void wxVtkSceneManager::saveDiagram(std::string &content) GObjectController *cont = _controllers[id]; cont->getModel()->save(content); } - - - } // _isComplexBox else { content += "FALSE\n"; } - // CHANGE TO THE VERSION 1.4 RaC2012 2nd HackFest // External inputs are possible for applications and complex boxes @@ -2005,7 +2001,8 @@ void wxVtkSceneManager::saveDiagram(std::string &content) content += buffer; content += "\n"; - for (int i = 0; i < insize; i++) { + for (int i = 0; i < insize; i++) + { int id = inputs[i]; GObjectController *cont = _controllers[id]; cont->getModel()->save(content); @@ -2019,7 +2016,8 @@ void wxVtkSceneManager::saveDiagram(std::string &content) content += buffer; content += "\n"; - for (int i = 0; i < bsize; i++) { + for (int i = 0; i < bsize; i++) + { int id = boxes[i]; // std::cout<<"id "<