diff --git a/build_files/build_environment/linux/linux_rocky8_setup.sh b/build_files/build_environment/linux/linux_rocky8_setup.sh index 6a14f40e0b3..8f3e3562e53 100644 --- a/build_files/build_environment/linux/linux_rocky8_setup.sh +++ b/build_files/build_environment/linux/linux_rocky8_setup.sh @@ -9,8 +9,8 @@ set -e if [ `id -u` -ne 0 ]; then - echo "This script must be run as root" - exit 1 + echo "This script must be run as root" + exit 1 fi # Required by: config manager command below to enable powertools. @@ -47,8 +47,6 @@ PACKAGES_FOR_LIBS=( # Used to checkout Blender's code. git git-lfs - # Used to checkout Blender's `../lib/` directory. - subversion # Used to extract packages. bzip2 # Used to extract packages. diff --git a/source/blender/makesrna/intern/rna_access.cc b/source/blender/makesrna/intern/rna_access.cc index 800ed49f6ac..7328f2f2c31 100644 --- a/source/blender/makesrna/intern/rna_access.cc +++ b/source/blender/makesrna/intern/rna_access.cc @@ -5948,7 +5948,7 @@ static void rna_array_as_string_elem(int type, void **buf_p, int len, std::strin case PROP_FLOAT: { float *buf = static_cast(*buf_p); for (int i = 0; i < len; i++, buf++) { - ss << fmt::format((i < end || !end) ? "%g, " : "%g", *buf); + ss << fmt::format((i < end || !end) ? "{:g}, " : "{:g}", *buf); } *buf_p = buf; break; @@ -6078,7 +6078,7 @@ std::string RNA_property_as_string( bool is_first = true; for (; item->identifier; item++) { if (item->identifier[0] && item->value & val) { - ss << fmt::format(is_first ? "'%s'" : ", '%s'", item->identifier); + ss << fmt::format(is_first ? "'{}'" : ", '{}'", item->identifier); is_first = false; } }