Implements an operator to convert color attributes in available domains and types, as described in T97106. Differential Revision: https://developer.blender.org/D15596
29 lines
868 B
C++
29 lines
868 B
C++
/* SPDX-License-Identifier: GPL-2.0-or-later
|
|
* Copyright 2020 Blender Foundation. All rights reserved. */
|
|
|
|
/** \file
|
|
* \ingroup edgeometry
|
|
*/
|
|
|
|
#include "WM_api.h"
|
|
|
|
#include "ED_geometry.h"
|
|
|
|
#include "geometry_intern.hh"
|
|
|
|
/**************************** registration **********************************/
|
|
|
|
void ED_operatortypes_geometry(void)
|
|
{
|
|
using namespace blender::ed::geometry;
|
|
|
|
WM_operatortype_append(GEOMETRY_OT_attribute_add);
|
|
WM_operatortype_append(GEOMETRY_OT_attribute_remove);
|
|
WM_operatortype_append(GEOMETRY_OT_color_attribute_add);
|
|
WM_operatortype_append(GEOMETRY_OT_color_attribute_remove);
|
|
WM_operatortype_append(GEOMETRY_OT_color_attribute_render_set);
|
|
WM_operatortype_append(GEOMETRY_OT_color_attribute_duplicate);
|
|
WM_operatortype_append(GEOMETRY_OT_attribute_convert);
|
|
WM_operatortype_append(GEOMETRY_OT_color_attribute_convert);
|
|
}
|