Cleanup: number literals
This commit is contained in:
parent
24f0807550
commit
d10700a3ac
|
@ -377,7 +377,7 @@ int BLI_exists(const char *path)
|
|||
struct stat st;
|
||||
BLI_assert(!BLI_path_is_rel(path));
|
||||
if (stat(path, &st)) {
|
||||
return (0);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
return (st.st_mode);
|
||||
|
|
|
@ -131,7 +131,7 @@ void GPENCIL_OT_stroke_enter_editcurve_mode(wmOperatorType *ot)
|
|||
"Error Threshold",
|
||||
"Threshold on the maximum deviation from the actual stroke",
|
||||
FLT_MIN,
|
||||
10.f);
|
||||
10.0f);
|
||||
RNA_def_property_ui_range(prop, FLT_MIN, 10.0f, 0.1f, 5);
|
||||
}
|
||||
|
||||
|
|
|
@ -291,7 +291,7 @@ void WM_operator_properties_select_random(wmOperatorType *ot)
|
|||
1.0f,
|
||||
"Ratio",
|
||||
"Portion of items to select randomly",
|
||||
0.f,
|
||||
0.0f,
|
||||
1.0f);
|
||||
RNA_def_int(ot->srna,
|
||||
"seed",
|
||||
|
|
Loading…
Reference in New Issue