]> Creatis software - cpPlugins.git/commitdiff
...
authorLeonardo Flórez-Valencia <leonardo.florez@gmail.com>
Thu, 10 Nov 2016 03:05:42 +0000 (22:05 -0500)
committerLeonardo Flórez-Valencia <leonardo.florez@gmail.com>
Thu, 10 Nov 2016 03:05:42 +0000 (22:05 -0500)
lib/cpPlugins/BaseObjects/Parameters.cxx

index 88a82af798f2952b74d52c78149d198cfa1d236e..662d827eae96f9087dad1b6001f6348ee5a89193 100644 (file)
@@ -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 );
 }