]> Creatis software - cpPlugins.git/blobdiff - lib/cpExtensions/Visualization/ImageSliceActors.cxx
Some bugs...
[cpPlugins.git] / lib / cpExtensions / Visualization / ImageSliceActors.cxx
index 24bae091f038ea2a653e2cb289e6ece20aedb171..88a0a4bc7d8a3c6cb47c0bd31239bec3781ced68 100644 (file)
@@ -1044,6 +1044,7 @@ _ConfigureStyle( )
 {
   // Connect this view with a controller
   this->m_Style = vtkSmartPointer< TStyle >::New( );
+  this->m_Style->SetAssociatedObject( this );
   this->m_Style->AddMouseMoveCommand( Self::_MouseMoveCommand, this );
   this->m_Style->AddMouseClickCommand( Self::_MouseClickCommand, this );
   this->m_Style->AddMouseWheelCommand( Self::_MouseWheelCommand, this );