if( nTotalSeeds < 2 )
{
double seed[ 3 ];
- istyle->GetSeed( s, seed );
+ istyle->GetSeedAsPoint( s, seed );
if( nTotalSeeds == 0 )
this->m_Filter->GetParameters( )->SetPoint( "Seed0", 3, seed );
else
} // rof
if( !at_least_one )
- return( Self::DialogResult_Cancel );
-
+ return( false );
+
// Create dialog
this->m_Dialog = new DoubleFloodImageFilter_Dialog( NULL, this );
this->m_Dialog->show( );
- return( Self::DialogResult_Modal );
+ return( true );
#else // cpPlugins_Interface_QT4
- return( Self::DialogResult_Cancel );
+ return( false );
#endif // cpPlugins_Interface_QT4
}