Merge branch 'blender-v4.1-release'
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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<float *>(*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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user