Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/blendfile.c
| Show First 20 Lines • Show All 447 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| static void handle_subversion_warning(Main *main, BlendFileReadReport *reports) | static void handle_subversion_warning(Main *main, BlendFileReadReport *reports) | ||||
| { | { | ||||
| if (main->minversionfile > BLENDER_FILE_VERSION || | if (main->minversionfile > BLENDER_FILE_VERSION || | ||||
| (main->minversionfile == BLENDER_FILE_VERSION && | (main->minversionfile == BLENDER_FILE_VERSION && | ||||
| main->minsubversionfile > BLENDER_FILE_SUBVERSION)) { | main->minsubversionfile > BLENDER_FILE_SUBVERSION)) { | ||||
| BKE_reportf(reports->reports, | BKE_reportf(reports->reports, | ||||
| RPT_ERROR, | RPT_WARNING, | ||||
| "File written by newer Blender binary (%d.%d), expect loss of data!", | "File written by newer Blender binary (%d.%d), expect loss of data!", | ||||
| main->minversionfile, | main->minversionfile, | ||||
| main->minsubversionfile); | main->minsubversionfile); | ||||
| } | } | ||||
| } | } | ||||
| void BKE_blendfile_read_setup_ex(bContext *C, | void BKE_blendfile_read_setup_ex(bContext *C, | ||||
| BlendFileData *bfd, | BlendFileData *bfd, | ||||
| ▲ Show 20 Lines • Show All 477 Lines • Show Last 20 Lines | |||||