Cleanup: place ID comments before the literal values

This is already done in most places and matches struct-member
comment ordering.
This commit is contained in:
Campbell Barton
2025-05-21 12:40:10 +10:00
parent 8f1cd941ce
commit 3af6f7a989
3 changed files with 3 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ std::string AssetRepresentation::full_library_path() const
{
std::string asset_path = full_path();
char blend_path[1090 /*FILE_MAX_LIBEXTRA*/];
char blend_path[/*FILE_MAX_LIBEXTRA*/ 1090];
if (!BKE_blendfile_library_path_explode(asset_path.c_str(), blend_path, nullptr, nullptr)) {
return {};
}

View File

@@ -120,7 +120,7 @@ bool filelist_is_dir(const FileList *filelist, const char *path);
/**
* May modify in place given `dirpath`, which is expected to be #FILE_MAX_LIBEXTRA length.
*/
void filelist_setdir(FileList *filelist, char dirpath[1090 /*FILE_MAX_LIBEXTRA*/]);
void filelist_setdir(FileList *filelist, char dirpath[/*FILE_MAX_LIBEXTRA*/ 1090]);
/**
* Limited version of full update done by space_file's file_refresh(),

View File

@@ -89,5 +89,5 @@ filter_supported_objects(Depsgraph *depsgraph, const OBJExportParams &export_par
*/
bool append_frame_to_filename(const char *filepath,
int frame,
char r_filepath_with_frames[1024 /*FILE_MAX*/]);
char r_filepath_with_frames[/*FILE_MAX*/ 1024]);
} // namespace blender::io::obj