This option is true by default, but it can be changed for any asset library (that may be using Link as import method). This also fix "Reset to Default Value" for the Import Method since this was originally not using the defaults. Pull Request: https://projects.blender.org/blender/blender/pulls/107345
29 lines
492 B
C
29 lines
492 B
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
/** \file
|
|
* \ingroup DNA
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "DNA_asset_types.h"
|
|
|
|
/* Struct members on own line. */
|
|
/* clang-format off */
|
|
|
|
/* -------------------------------------------------------------------- */
|
|
/** \name bUserAssetLibrary Struct
|
|
* \{ */
|
|
|
|
#define _DNA_DEFAULT_bUserAssetLibrary \
|
|
{ \
|
|
.import_method = ASSET_IMPORT_APPEND_REUSE, \
|
|
.flag = ASSET_LIBRARY_RELATIVE_PATH, \
|
|
}
|
|
|
|
/** \} */
|
|
|
|
/* clang-format off */
|
|
|
|
/** \} */
|