forked from bartvdbraak/blender
Cleanup: tabs to spaces
This commit is contained in:
parent
bedc68a838
commit
38b1450848
@ -149,8 +149,8 @@ include(build_files/cmake/platform/platform_win32_bundle_crt.cmake)
|
||||
remove_cc_flag("/MDd" "/MD" "/Zi")
|
||||
|
||||
if(WITH_WINDOWS_PDB)
|
||||
set(PDB_INFO_OVERRIDE_FLAGS "/Z7")
|
||||
set(PDB_INFO_OVERRIDE_LINKER_FLAGS "/DEBUG /OPT:REF /OPT:ICF /INCREMENTAL:NO")
|
||||
set(PDB_INFO_OVERRIDE_FLAGS "/Z7")
|
||||
set(PDB_INFO_OVERRIDE_LINKER_FLAGS "/DEBUG /OPT:REF /OPT:ICF /INCREMENTAL:NO")
|
||||
endif()
|
||||
|
||||
if(MSVC_CLANG) # Clangs version of cl doesn't support all flags
|
||||
|
@ -80,7 +80,7 @@
|
||||
#define UN_SC_LB 0.45359237f
|
||||
#define UN_SC_OZ 0.028349523125f
|
||||
|
||||
#define UN_SC_FAH 0.555555555555f
|
||||
#define UN_SC_FAH 0.555555555555f
|
||||
|
||||
/* clang-format on */
|
||||
|
||||
@ -334,15 +334,15 @@ static struct bUnitCollection buPowerCollection = {buPowerDef, 3, 0, UNIT_COLLEC
|
||||
/* Temperature */
|
||||
static struct bUnitDef buMetricTempDef[] = {
|
||||
{"kelvin", "kelvin", "K", NULL, "Kelvin", "KELVIN", 1.0f, 0.0, B_UNIT_DEF_NONE}, /* Base unit. */
|
||||
{"celsius", "celsius", "°C", "C", "Celsius", "CELCIUS", 1.0f, 273.15, B_UNIT_DEF_NONE},
|
||||
NULL_UNIT,
|
||||
{"celsius", "celsius", "°C", "C", "Celsius", "CELCIUS", 1.0f, 273.15, B_UNIT_DEF_NONE},
|
||||
NULL_UNIT,
|
||||
};
|
||||
static struct bUnitCollection buMetricTempCollection = {buMetricTempDef, 0, 0, UNIT_COLLECTION_LENGTH(buMetricTempDef)};
|
||||
|
||||
static struct bUnitDef buImperialTempDef[] = {
|
||||
{"kelvin", "kelvin", "K", NULL, "Kelvin", "KELVIN", 1.0f, 0.0, B_UNIT_DEF_NONE}, /* Base unit. */
|
||||
{"fahrenheit", "fahrenheit", "°F", "F", "Fahrenheit", "FAHRENHEIT", UN_SC_FAH, 459.67, B_UNIT_DEF_NONE},
|
||||
NULL_UNIT,
|
||||
{"fahrenheit", "fahrenheit", "°F", "F", "Fahrenheit", "FAHRENHEIT", UN_SC_FAH, 459.67, B_UNIT_DEF_NONE},
|
||||
NULL_UNIT,
|
||||
};
|
||||
static struct bUnitCollection buImperialTempCollection = {
|
||||
buImperialTempDef, 1, 0, UNIT_COLLECTION_LENGTH(buImperialTempDef)};
|
||||
|
Loading…
Reference in New Issue
Block a user