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:
@@ -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 {};
|
||||
}
|
||||
|
||||
@@ -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(),
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user