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:
authorBrecht Van Lommel <brecht@blender.org>2020-08-19 19:12:52 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-09-09 18:01:17 +0300
commit370d6e50252b979433f27959070315911cc340e5 (patch)
treef270972dd522a928e74b23334bb91a1cf174382f /source/blender/editors/space_api
parenta1397a3cc69382a64ab97bb71e4769fc0add0791 (diff)
Geometry: add Attributes panel for PointCloud and Hair
There is a list of attributes, along with operators to add and remove attributes. For adding, there are a few standard attributes that can be added quickly, as well as a popup to create a custom attribute. Ref T76659 Differential Revision: https://developer.blender.org/D8636
Diffstat (limited to 'source/blender/editors/space_api')
-rw-r--r--source/blender/editors/space_api/CMakeLists.txt1
-rw-r--r--source/blender/editors/space_api/spacetypes.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_api/CMakeLists.txt b/source/blender/editors/space_api/CMakeLists.txt
index de1c905b08b..d948d84f1c3 100644
--- a/source/blender/editors/space_api/CMakeLists.txt
+++ b/source/blender/editors/space_api/CMakeLists.txt
@@ -35,6 +35,7 @@ set(SRC
)
set(LIB
+ bf_editor_geometry
bf_editor_space_action
bf_editor_space_buttons
bf_editor_space_clip
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c
index 1656a76e2d4..29ad314cd65 100644
--- a/source/blender/editors/space_api/spacetypes.c
+++ b/source/blender/editors/space_api/spacetypes.c
@@ -41,6 +41,7 @@
#include "ED_clip.h"
#include "ED_curve.h"
#include "ED_fileselect.h"
+#include "ED_geometry.h"
#include "ED_gizmo_library.h"
#include "ED_gpencil.h"
#include "ED_lattice.h"
@@ -106,6 +107,7 @@ void ED_spacetypes_init(void)
ED_operatortypes_object();
ED_operatortypes_lattice();
ED_operatortypes_mesh();
+ ED_operatortypes_geometry();
ED_operatortypes_sculpt();
ED_operatortypes_uvedit();
ED_operatortypes_paint();