Blender V5.3
versioning_xxx_template.cc File Reference
#include "DNA_ID.h"
#include "BLI_sys_types.hh"
#include "BKE_main.hh"
#include "readfile.hh"
#include "versioning_common.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define DNA_DEPRECATED_ALLOW

Functions

void blender::do_versions_after_linking_xxx (FileData *, Main *)
void blender::blo_do_versions_xxx (FileData *, Library *, Main *)

Macro Definition Documentation

◆ DNA_DEPRECATED_ALLOW

#define DNA_DEPRECATED_ALLOW

This file is a template to use as base when switching to a new version of Blender.

DO NOT add this file to CMakeList.txt.

When initializing a new version of Blender in main, after branching out the current one into its release branch:

  • Copy that file and rename it to the proper new version number (e.g. versioning_501.cc).
  • Rename the two functions below by replacing the xxx with the matching new version number.
  • Add the new file to CMakeList.txt
  • Add matching calls in #do_versions_after_linking and #do_versions, in readfile.cc and update declarations inreadfile.hh.

Definition at line 23 of file versioning_xxx_template.cc.