]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/imageUndoRedo/image3DDequeUR.cxx
Clean Code
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / imageUndoRedo / image3DDequeUR.cxx
index ab00161f83ef3fb59d4ac2fda4e883e5fffd0cf6..478e8c37e634aa4c3e99b9c7ae53fd99ced17e92 100755 (executable)
@@ -125,7 +125,6 @@ ImageInfoUR* Image3DDequeUR::Redo( )
 //virtual
 void Image3DDequeUR::CleanURContainerFromIndex( const int& index )
 {
-    printf("EED Image3DDequeUR::CleanURContainerFromIndex Start \n");
        int count = 0;
        for( unsigned int i = index; i < this->m_ImgURDeque.size( ); i++ )
        {
@@ -137,8 +136,6 @@ void Image3DDequeUR::CleanURContainerFromIndex( const int& index )
        {
                this->m_ImgURDeque.pop_back( );
        } //rof
-    printf("EED Image3DDequeUR::CleanURContainerFromIndex End \n");
-
 }
 
 // ----------------------------------------------------------------------------------
@@ -159,7 +156,9 @@ void Image3DDequeUR::ManageMemory( )
        {
                this->m_ImgURDeque[ this->m_CurrentURPos ]->LoadImagesToMemory( this->m_GlobalPath );
        }
-       int currentRedoPos = this->m_CurrentURPos + 1;
+    
+    int currentRedoPos = this->m_CurrentURPos + 1;
+    
        if( ( currentRedoPos < imgURDequeSize ) && !( this->m_ImgURDeque[ currentRedoPos ]->GetStatus( ) ) )
        {
                this->m_ImgURDeque[ currentRedoPos ]->LoadImagesToMemory( this->m_GlobalPath );