Cleanup: use view3d_navigate prefix for walk/fly operators

Use matching file-name prefix as these operators are closely related.
This commit is contained in:
Campbell Barton 2021-06-28 16:06:38 +10:00
parent 7beb57f3bd
commit e94ec79341
4 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,6 @@ set(SRC
view3d_camera_control.c
view3d_draw.c
view3d_edit.c
view3d_fly.c
view3d_gizmo_armature.c
view3d_gizmo_camera.c
view3d_gizmo_empty.c
@ -60,6 +59,8 @@ set(SRC
view3d_gizmo_tool_generic.c
view3d_header.c
view3d_iterators.c
view3d_navigate_fly.c
view3d_navigate_walk.c
view3d_ops.c
view3d_placement.c
view3d_project.c
@ -67,7 +68,6 @@ set(SRC
view3d_snap.c
view3d_utils.c
view3d_view.c
view3d_walk.c
view3d_intern.h
)

View File

@ -111,11 +111,11 @@ void view3d_ndof_fly(const struct wmNDOFMotionData *ndof,
bool *r_has_rotate);
#endif /* WITH_INPUT_NDOF */
/* view3d_fly.c */
/* view3d_navigate_fly.c */
void view3d_keymap(struct wmKeyConfig *keyconf);
void VIEW3D_OT_fly(struct wmOperatorType *ot);
/* view3d_walk.c */
/* view3d_navigate_walk.c */
void VIEW3D_OT_walk(struct wmOperatorType *ot);
/* view3d_draw.c */

View File

@ -19,7 +19,7 @@
*
* Interactive fly navigation modal operator (flying around in space).
*
* \note Similar logic to `view3d_walk.c` changes here may apply there too.
* \note Similar logic to `view3d_navigate_walk.c` changes here may apply there too.
*/
/* defines VIEW3D_OT_fly modal operator */

View File

@ -20,7 +20,7 @@
* Interactive walk navigation modal operator
* (similar to walking around in a first person game).
*
* \note Similar logic to `view3d_fly.c` changes here may apply there too.
* \note Similar logic to `view3d_navigate_fly.c` changes here may apply there too.
*/
/* defines VIEW3D_OT_navigate - walk modal operator */