]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Visualization/MPRActors.h
Minor refactoring and errors solved
[cpPlugins.git] / lib / cpExtensions / Visualization / MPRActors.h
index 8b88fdc2687ca93e7ff32ddd36a0f0c095c26dbc..24967800a36e80ab093e91bdb64913e2c2f1807a 100644 (file)
@@ -32,9 +32,9 @@ namespace cpExtensions
 
       void AddCursorCommand( TCursorCommand command, void* data )
       {
-        this->Slices[ 0 ][ 0 ]->AddCursorCommand( command, data );
-        this->Slices[ 0 ][ 1 ]->AddCursorCommand( command, data );
-        this->Slices[ 0 ][ 2 ]->AddCursorCommand( command, data );
+        this->Slices[ 0 ][ 0 ]->AddSlicesCommand( command, data );
+        this->Slices[ 0 ][ 1 ]->AddSlicesCommand( command, data );
+        this->Slices[ 0 ][ 2 ]->AddSlicesCommand( command, data );
       }
 
       ImageSliceActors* GetSliceActors( const int& i ) const;