From: Leonardo Flórez-Valencia Date: Thu, 10 Nov 2016 03:05:42 +0000 (-0500) Subject: ... X-Git-Tag: v0.1~54 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?p=cpPlugins.git;a=commitdiff_plain;h=931fb6b5db15d945e7412735b1ee082b8f62cc97 ... --- diff --git a/lib/cpPlugins/BaseObjects/Parameters.cxx b/lib/cpPlugins/BaseObjects/Parameters.cxx index 88a82af..662d827 100644 --- a/lib/cpPlugins/BaseObjects/Parameters.cxx +++ b/lib/cpPlugins/BaseObjects/Parameters.cxx @@ -209,12 +209,6 @@ ConfigureAsIntTypesChoices( const std::string& name ) choices.push_back( "long" ); choices.push_back( "ulong" ); #endif // cpPlugins_CONFIG_INTEGER_TYPES_long -#ifdef cpPlugins_CONFIG_REAL_TYPES_float - choices.push_back( "float" ); -#endif // cpPlugins_CONFIG_REAL_TYPES_float -#ifdef cpPlugins_CONFIG_REAL_TYPES_double - choices.push_back( "double" ); -#endif // cpPlugins_CONFIG_REAL_TYPES_double this->ConfigureAsChoices( name, choices ); } @@ -239,6 +233,12 @@ ConfigureAsScalarTypesChoices( const std::string& name ) choices.push_back( "long" ); choices.push_back( "ulong" ); #endif // cpPlugins_CONFIG_INTEGER_TYPES_long +#ifdef cpPlugins_CONFIG_REAL_TYPES_float + choices.push_back( "float" ); +#endif // cpPlugins_CONFIG_REAL_TYPES_float +#ifdef cpPlugins_CONFIG_REAL_TYPES_double + choices.push_back( "double" ); +#endif // cpPlugins_CONFIG_REAL_TYPES_double this->ConfigureAsChoices( name, choices ); }