This repository has been archived on 2023-10-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blender-archive/source/blender/makesdna/DNA_meta_defaults.h
Campbell Barton 9e5e2aa775 Cleanup: rename Mesh/Curve/MetaBall loc/size/texflag
Struct members loc/size were misleading as they read as if the object
data stored object level transform channels. Rename these to match RNA
with a `texspace_*` prefix to make it clear these struct members only
apply to texture-space transform.

Also rename ME_AUTOSPACE & ME_AUTOSPACE_EVALUATED to
ME_TEXSPACE_FLAG_AUTO & ME_TEXSPACE_FLAG_AUTO_EVALUATED.
2023-01-18 17:20:10 +11:00

28 lines
491 B
C++

/* SPDX-License-Identifier: GPL-2.0-or-later */
/** \file
* \ingroup DNA
*/
#pragma once
/* Struct members on own line. */
/* clang-format off */
/* -------------------------------------------------------------------- */
/** \name MetaBall Struct
* \{ */
#define _DNA_DEFAULT_MetaBall \
{ \
.texspace_size = {1, 1, 1}, \
.texspace_flag = MB_TEXSPACE_FLAG_AUTO, \
.wiresize = 0.4f, \
.rendersize = 0.2f, \
.thresh = 0.6f, \
}
/** \} */
/* clang-format on */