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:
authorCampbell Barton <ideasman42@gmail.com>2017-06-07 22:27:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-06-07 22:30:21 +0300
commit575db256dbb54cc013c729157115ba4be8c7b13e (patch)
tree39fdc86e417a6ebc0ab0e47400074aa98f86378a /source/blender/editors/space_api
parent8ff1bce40f3de5272eb3cb6475691f0d8d98bc52 (diff)
WM: add wmManipulatorType, from wmManipulator
Having the type in mixed in with each instance made it hard to expose types to RNA/Python.
Diffstat (limited to 'source/blender/editors/space_api')
-rw-r--r--source/blender/editors/space_api/spacetypes.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/source/blender/editors/space_api/spacetypes.c b/source/blender/editors/space_api/spacetypes.c
index 3a431eb82df..acc197bcc5b 100644
--- a/source/blender/editors/space_api/spacetypes.c
+++ b/source/blender/editors/space_api/spacetypes.c
@@ -125,6 +125,22 @@ void ED_spacetypes_init(void)
ED_operatortypes_view2d();
ED_operatortypes_ui();
+ /* manipulator types */
+
+ /* FIXME */
+ extern void ED_manipulatortypes_dial(void);
+ extern void ED_manipulatortypes_arrow_2d(void);
+ extern void ED_manipulatortypes_arrow_3d(void);
+ extern void ED_manipulatortypes_facemap(void);
+ extern void ED_manipulatortypes_primitive(void);
+ extern void ED_manipulatortypes_cage(void);
+
+ ED_manipulatortypes_dial();
+ ED_manipulatortypes_arrow_2d();
+ ED_manipulatortypes_arrow_3d();
+ ED_manipulatortypes_primitive();
+ ED_manipulatortypes_cage();
+
/* register types for operators and manipulators */
spacetypes = BKE_spacetypes_list();
for (type = spacetypes->first; type; type = type->next) {