Would it be possible to create some overloaded ui_def_but, uiDefBut etc. so they include that forgotten parameter named for eg. "float dfault"? Instead of creating hundreds of constants, in time all old buttons would be changed and new would be created with that new overloaded version. For eg:
instead of: but = uiDefButF(block, NUM, B_OBJECTPANELMEDIAN, "X:", 0, yi -= buth, 200, buth, &(tfp->ve_median[LOC_X]), -lim, lim, 10, RNA_TRANSLATION_PREC_DEFAULT, ""); would be: but = uiDefButF(block, NUM, B_OBJECTPANELMEDIAN, "X:", 0, yi -= buth, 200, buth, &(tfp->ve_median[LOC_X]), 0.0, -lim, lim, 10, RNA_TRANSLATION_PREC_DEFAULT, ""); _______________________________________________ Bf-committers mailing list [email protected] http://lists.blender.org/mailman/listinfo/bf-committers
