]> Creatis software - creaMaracasVisu.git/commitdiff
Bug found in CutModule, not setting the output as NULL in the black box
authorJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Thu, 4 Mar 2010 15:09:56 +0000 (15:09 +0000)
committerJuan Prieto <Juan.Prieto@creatis.insa-lyon.fr>
Thu, 4 Mar 2010 15:09:56 +0000 (15:09 +0000)
To revise... In cutModuleManager, not respecting the librairies hierarchy, calling the instance of the interface from the kernel

bbtk/src/bbcreaMaracasVisuCutModule.cxx
lib/maracasVisuLib/src/CutModule/kernel/CutModelManager.cxx

index ebcfce3eb7b52eacee6581911ea0d9b4c68130e2..33647708e89e141a93d11a176522ef297269831c 100644 (file)
@@ -42,12 +42,14 @@ void CutModule::bbUserSetDefaultValues()
 {      
        _mainpanel = NULL;
        _currentimage=NULL;
-}
-void CutModule::bbUserInitializeProcessing()
-{
        bbSetInputIn(0);
        bbSetInputInteractor(0);
        bbSetInputRenderer(0);  
+       bbSetOutputOut(0);
+}
+void CutModule::bbUserInitializeProcessing()
+{
+       
 }
 void CutModule::bbUserFinalizeProcessing()
 {
index 23fdee919684fd55f50cd605c4693fb95dff47a1..023b9d8dd5039ec60800210fbd8b2b5c5bb917ac 100644 (file)
@@ -3,8 +3,8 @@
 Program:   wxMaracas
 Module:    $RCSfile: CutModelManager.cxx,v $
 Language:  C++
-Date:      $Date: 2010/02/24 13:56:08 $
-Version:   $Revision: 1.7 $
+Date:      $Date: 2010/03/04 15:09:57 $
+Version:   $Revision: 1.8 $
 
 Copyright: (c) 2002, 2003
 License:
@@ -15,6 +15,8 @@ PURPOSE.  See the above copyright notice for more information.
 
 =========================================================================*/
 #include "CutModelManager.h"
+
+//Machete
 #include "CutModelMainPanel.h"
 
 /**