2022-02-11 09:07:11 +11:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
* Copyright 2020 Blender Foundation. All rights reserved. */
|
2020-08-19 18:12:52 +02:00
|
|
|
|
|
|
|
|
/** \file
|
|
|
|
|
* \ingroup editors
|
|
|
|
|
*/
|
|
|
|
|
|
2021-01-04 13:10:22 +11:00
|
|
|
#pragma once
|
2020-08-19 18:12:52 +02:00
|
|
|
|
2022-05-31 15:46:09 -07:00
|
|
|
#include "BKE_attribute.h"
|
|
|
|
|
#include "DNA_customdata_types.h"
|
|
|
|
|
|
2020-08-19 18:12:52 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
2022-05-31 15:46:09 -07:00
|
|
|
struct Mesh;
|
2020-08-19 18:12:52 +02:00
|
|
|
|
2022-05-31 15:46:09 -07:00
|
|
|
void ED_operatortypes_geometry(void);
|
|
|
|
|
bool ED_geometry_attribute_convert(struct Mesh *mesh,
|
|
|
|
|
const char *layer_name,
|
2022-06-01 14:38:06 +10:00
|
|
|
eCustomDataType old_type,
|
|
|
|
|
eAttrDomain old_domain,
|
|
|
|
|
eCustomDataType new_type,
|
|
|
|
|
eAttrDomain new_domain);
|
2020-08-19 18:12:52 +02:00
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|