tornavis/source/blender/makesdna/DNA_asset_defaults.h

31 lines
571 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup DNA
*/
#pragma once
/* Struct members on own line. */
/* clang-format off */
/* -------------------------------------------------------------------- */
/** \name Asset Struct
* \{ */
#define _DNA_DEFAULT_AssetMetaData \
{ \
0 \
}
#define _DNA_DEFAULT_AssetLibraryReference \
{ \
.type = ASSET_LIBRARY_LOCAL, \
/* Not needed really (should be ignored for #ASSET_LIBRARY_LOCAL), but helps debugging. */ \
.custom_library_index = -1, \
}
/** \} */
/* clang-format on */