code cleanup: operator/function mismatch

This commit is contained in:
Campbell Barton 2013-02-17 07:17:04 +00:00
parent b0a7370284
commit 6e0cedd61c
6 changed files with 9 additions and 9 deletions

@ -558,7 +558,7 @@ static int object_add_hook_selob_exec(bContext *C, wmOperator *op)
} }
} }
void OBJECT_OT_hook_add_selobj(wmOperatorType *ot) void OBJECT_OT_hook_add_selob(wmOperatorType *ot)
{ {
/* identifiers */ /* identifiers */
ot->name = "Hook to Selected Object"; ot->name = "Hook to Selected Object";
@ -592,7 +592,7 @@ static int object_add_hook_newob_exec(bContext *C, wmOperator *op)
} }
} }
void OBJECT_OT_hook_add_newobj(wmOperatorType *ot) void OBJECT_OT_hook_add_newob(wmOperatorType *ot)
{ {
/* identifiers */ /* identifiers */
ot->name = "Hook to New Object"; ot->name = "Hook to New Object";

@ -127,8 +127,8 @@ void OBJECT_OT_join_shapes(struct wmOperatorType *ot);
void OBJECT_OT_convert(struct wmOperatorType *ot); void OBJECT_OT_convert(struct wmOperatorType *ot);
/* object_hook.c */ /* object_hook.c */
void OBJECT_OT_hook_add_selobj(struct wmOperatorType *ot); void OBJECT_OT_hook_add_selob(struct wmOperatorType *ot);
void OBJECT_OT_hook_add_newobj(struct wmOperatorType *ot); void OBJECT_OT_hook_add_newob(struct wmOperatorType *ot);
void OBJECT_OT_hook_remove(struct wmOperatorType *ot); void OBJECT_OT_hook_remove(struct wmOperatorType *ot);
void OBJECT_OT_hook_select(struct wmOperatorType *ot); void OBJECT_OT_hook_select(struct wmOperatorType *ot);
void OBJECT_OT_hook_assign(struct wmOperatorType *ot); void OBJECT_OT_hook_assign(struct wmOperatorType *ot);

@ -217,8 +217,8 @@ void ED_operatortypes_object(void)
WM_operatortype_append(OBJECT_OT_group_link); WM_operatortype_append(OBJECT_OT_group_link);
WM_operatortype_append(OBJECT_OT_group_remove); WM_operatortype_append(OBJECT_OT_group_remove);
WM_operatortype_append(OBJECT_OT_hook_add_selobj); WM_operatortype_append(OBJECT_OT_hook_add_selob);
WM_operatortype_append(OBJECT_OT_hook_add_newobj); WM_operatortype_append(OBJECT_OT_hook_add_newob);
WM_operatortype_append(OBJECT_OT_hook_remove); WM_operatortype_append(OBJECT_OT_hook_remove);
WM_operatortype_append(OBJECT_OT_hook_select); WM_operatortype_append(OBJECT_OT_hook_select);
WM_operatortype_append(OBJECT_OT_hook_assign); WM_operatortype_append(OBJECT_OT_hook_assign);

@ -79,7 +79,7 @@ void uvedit_get_aspect(struct Scene *scene, struct Object *ob, struct BMEditMesh
void UV_OT_average_islands_scale(struct wmOperatorType *ot); void UV_OT_average_islands_scale(struct wmOperatorType *ot);
void UV_OT_cube_project(struct wmOperatorType *ot); void UV_OT_cube_project(struct wmOperatorType *ot);
void UV_OT_cylinder_project(struct wmOperatorType *ot); void UV_OT_cylinder_project(struct wmOperatorType *ot);
void UV_OT_from_view(struct wmOperatorType *ot); void UV_OT_project_from_view(struct wmOperatorType *ot);
void UV_OT_minimize_stretch(struct wmOperatorType *ot); void UV_OT_minimize_stretch(struct wmOperatorType *ot);
void UV_OT_pack_islands(struct wmOperatorType *ot); void UV_OT_pack_islands(struct wmOperatorType *ot);
void UV_OT_reset(struct wmOperatorType *ot); void UV_OT_reset(struct wmOperatorType *ot);

@ -4053,7 +4053,7 @@ void ED_operatortypes_uvedit(void)
WM_operatortype_append(UV_OT_average_islands_scale); WM_operatortype_append(UV_OT_average_islands_scale);
WM_operatortype_append(UV_OT_cube_project); WM_operatortype_append(UV_OT_cube_project);
WM_operatortype_append(UV_OT_cylinder_project); WM_operatortype_append(UV_OT_cylinder_project);
WM_operatortype_append(UV_OT_from_view); WM_operatortype_append(UV_OT_project_from_view);
WM_operatortype_append(UV_OT_minimize_stretch); WM_operatortype_append(UV_OT_minimize_stretch);
WM_operatortype_append(UV_OT_pack_islands); WM_operatortype_append(UV_OT_pack_islands);
WM_operatortype_append(UV_OT_reset); WM_operatortype_append(UV_OT_reset);

@ -1387,7 +1387,7 @@ static int uv_from_view_poll(bContext *C)
return (rv3d != NULL); return (rv3d != NULL);
} }
void UV_OT_from_view(wmOperatorType *ot) void UV_OT_project_from_view(wmOperatorType *ot)
{ {
/* identifiers */ /* identifiers */
ot->name = "Project From View"; ot->name = "Project From View";