Commit: 7c2ac7950a4fa9e216aec509e48cc305acdeb010
Author: Campbell Barton
Date:   Wed Mar 20 18:39:38 2019 +1100
Branches: master
https://developer.blender.org/rB7c2ac7950a4fa9e216aec509e48cc305acdeb010

Cleanup: Use doxy groups for NDOF operators

===================================================================

M       source/blender/editors/space_view3d/view3d_edit.c

===================================================================

diff --git a/source/blender/editors/space_view3d/view3d_edit.c 
b/source/blender/editors/space_view3d/view3d_edit.c
index d7a767a3701..e11c3012281 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -1292,11 +1292,7 @@ void view3d_ndof_fly(
 /** \} */
 
 /* -------------------------------------------------------------------- */
-/** \name NDOF Operators
- *
- * - "orbit" navigation (trackball/turntable)
- * - zooming
- * - panning in rotationally-locked views
+/** \name NDOF Orbit/Translate Operator
  * \{ */
 
 static int ndof_orbit_invoke(bContext *C, wmOperator *op, const wmEvent *event)
@@ -1374,6 +1370,12 @@ void VIEW3D_OT_ndof_orbit(struct wmOperatorType *ot)
        ot->flag = 0;
 }
 
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name NDOF Orbit/Zoom Operator
+ * \{ */
+
 static int ndof_orbit_zoom_invoke(bContext *C, wmOperator *op, const wmEvent 
*event)
 {
        if (event->type != NDOF_MOTION) {
@@ -1485,9 +1487,12 @@ void VIEW3D_OT_ndof_orbit_zoom(struct wmOperatorType *ot)
        ot->flag = 0;
 }
 
-/* -- "pan" navigation
- * -- zoom or dolly?
- */
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name NDOF Pan/Zoom Operator
+ * \{ */
+
 static int ndof_pan_invoke(bContext *C, wmOperator *UNUSED(op), const wmEvent 
*event)
 {
        if (event->type != NDOF_MOTION) {
@@ -1547,6 +1552,11 @@ void VIEW3D_OT_ndof_pan(struct wmOperatorType *ot)
        ot->flag = 0;
 }
 
+/** \} */
+
+/* -------------------------------------------------------------------- */
+/** \name NDOF Transform All Operator
+ * \{ */
 
 /**
  * wraps #ndof_orbit_zoom but never restrict to orbit.
@@ -1569,7 +1579,7 @@ static int ndof_all_invoke(bContext *C, wmOperator *op, 
const wmEvent *event)
 void VIEW3D_OT_ndof_all(struct wmOperatorType *ot)
 {
        /* identifiers */
-       ot->name = "NDOF Pan View";
+       ot->name = "NDOF Transform View";
        ot->description = "Pan and rotate the view with the 3D mouse";
        ot->idname = "VIEW3D_OT_ndof_all";

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to