Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2022-01-14 14:53:19 +0300
committerJacques Lucke <jacques@blender.org>2022-01-14 14:53:19 +0300
commit0a3de0305c35f3dbe472b87d4e8f98ff117aa3ad (patch)
tree9744a98e6a280ed506356df92c36b31fb1b3a911 /source/blender/editors/geometry/geometry_ops.cc
parentc9a8975de5555c716013d0c16058bdc401541965 (diff)
Cleanup: move attribute operators to c++
Diffstat (limited to 'source/blender/editors/geometry/geometry_ops.cc')
-rw-r--r--source/blender/editors/geometry/geometry_ops.cc36
1 files changed, 36 insertions, 0 deletions
diff --git a/source/blender/editors/geometry/geometry_ops.cc b/source/blender/editors/geometry/geometry_ops.cc
new file mode 100644
index 00000000000..ba8afe0e62f
--- /dev/null
+++ b/source/blender/editors/geometry/geometry_ops.cc
@@ -0,0 +1,36 @@
+/*
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ * The Original Code is Copyright (C) 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)
+{
+ WM_operatortype_append(GEOMETRY_OT_attribute_add);
+ WM_operatortype_append(GEOMETRY_OT_attribute_remove);
+}