From 60fb01380c0d22e25096efcb92b2f3e7431abd24 Mon Sep 17 00:00:00 2001 From: nds Date: Thu, 3 Nov 2005 07:12:06 +0000 Subject: [PATCH] Correct function createEmptyStudy() --- src/CAM/CAM_Application.cxx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/CAM/CAM_Application.cxx b/src/CAM/CAM_Application.cxx index 171a2cb1b..057804d7d 100755 --- a/src/CAM/CAM_Application.cxx +++ b/src/CAM/CAM_Application.cxx @@ -468,12 +468,4 @@ void CAM_Application::createEmptyStudy() SUIT_Study* study = activeStudy(); STD_Application::createEmptyStudy(); - - SUIT_Study* newStudy = activeStudy(); - if ( study != newStudy ) - { - CAM_Study* camStudy = dynamic_cast( newStudy ); - for ( ModuleListIterator it( myModules ); it.current(); ++it ) - camStudy->insertDataModel( it.current()->dataModel() ); - } } -- 2.39.2