Blender
V3.3
|
#include "BLI_utildefines.h"
Go to the source code of this file.
Macros | |
#define | BLENDER_VERSION 303 |
#define | BLENDER_VERSION_PATCH 21 |
#define | BLENDER_VERSION_CYCLE release |
#define | BLENDER_FILE_VERSION BLENDER_VERSION |
#define | BLENDER_FILE_SUBVERSION 6 |
#define | BLENDER_FILE_MIN_VERSION 300 |
#define | BLENDER_FILE_MIN_SUBVERSION 43 |
Functions | |
const char * | BKE_blender_version_string (void) |
bool | BKE_blender_version_is_alpha (void) |
void | BKE_blender_version_blendfile_string_from_values (char *str_buff, const size_t str_buff_len, const short file_version, const short file_subversion) |
#define BLENDER_FILE_MIN_SUBVERSION 43 |
Definition at line 38 of file BKE_blender_version.h.
#define BLENDER_FILE_MIN_VERSION 300 |
Definition at line 37 of file BKE_blender_version.h.
#define BLENDER_FILE_SUBVERSION 6 |
Definition at line 30 of file BKE_blender_version.h.
#define BLENDER_FILE_VERSION BLENDER_VERSION |
Definition at line 29 of file BKE_blender_version.h.
#define BLENDER_VERSION 303 |
The lines below use regex from scripts to extract their values, Keep this in mind when modifying this file and keep this comment above the defines.
Definition at line 22 of file BKE_blender_version.h.
#define BLENDER_VERSION_CYCLE release |
Blender release cycle stage: alpha/beta/rc/release.
Definition at line 26 of file BKE_blender_version.h.
#define BLENDER_VERSION_PATCH 21 |
Definition at line 24 of file BKE_blender_version.h.
void BKE_blender_version_blendfile_string_from_values | ( | char * | str_buff, |
const size_t | str_buff_len, | ||
const short | file_version, | ||
const short | file_subversion | ||
) |
Fill in given string buffer with user-readable formated file version and subversion (if provided).
str_buff | a char buffer where the formated string is written, minimal recommended size is 8, or 16 if subversion is provided. |
file_subversion | the file subversion, if given value < 0, it is ignored, and only the file_version is used. |
Definition at line 129 of file blender.c.
References BLI_snprintf().
Referenced by file_forwardcompat_detailed_info_show(), is_minversion_older_than_blender(), and uiTemplateStatusInfo().
Definition at line 149 of file blender.c.
References BLENDER_VERSION_CYCLE, STREQ, and STRINGIFY.
Referenced by BLO_sanitize_experimental_features_userpref_blend().
const char* BKE_blender_version_string | ( | void | ) |
User readable version string.
Definition at line 124 of file blender.c.
References blender_version_string.
Referenced by arg_handle_debug_mode_set(), arg_handle_print_help(), blender::io::alembic::create_abc_metadata(), ED_info_statusbar_string_ex(), blender::io::usd::export_startjob(), DocumentExporter::exportCurrentScene(), make_app_info(), print_version_full(), print_version_short(), blender::io::obj::TEST_F(), wm_block_create_splash(), blender::io::obj::OBJWriter::write_header(), and blender::io::obj::MTLWriter::write_header().