]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/QT/SimpleMPRWidget.cxx
...
[cpPlugins.git] / lib / cpExtensions / QT / SimpleMPRWidget.cxx
index 543ae154ecd98b7d5e1c5b82d526f342ef70e745..42dd1cd724d3658dd851b0a577f810365c53e08f 100644 (file)
@@ -164,9 +164,9 @@ SetImage( vtkImageData* image, const std::string& name )
 
   if( this->m_MainImage != NULL && this->m_MainImageName != "" )
   {
-    this->m_XImage->SetImage( this->m_MainImage, 0, name );
-    this->m_YImage->SetImage( this->m_MainImage, 1, name );
-    this->m_ZImage->SetImage( this->m_MainImage, 2, name );
+    this->m_XImage->SetImage( this->m_MainImage, name, 0 );
+    this->m_YImage->SetImage( this->m_MainImage, name, 1 );
+    this->m_ZImage->SetImage( this->m_MainImage, name, 2 );
     this->m_3DView->SetImage( this->m_MainImage, name );
 
   } // fi