Merge branch 'blender-v3.4-release'

This commit is contained in:
2022-11-08 12:03:07 +01:00
32 changed files with 154 additions and 119 deletions

View File

@@ -893,7 +893,7 @@ static bool bake_targets_output_external(const BakeAPIRender *bkr,
else {
/* if everything else fails, use the material index */
char tmp[5];
sprintf(tmp, "%d", i % 1000);
BLI_snprintf(tmp, sizeof(tmp), "%d", i % 1000);
BLI_path_suffix(name, FILE_MAX, tmp, "_");
}
}