Cleanup: ensure space after file named in headers
Add blank lines after file references to avoid them being interpreted as doc-strings the following declarations.
This commit is contained in:
@@ -282,6 +282,7 @@ void ED_armature_ebone_selectflag_enable(struct EditBone *ebone, int flag);
|
||||
void ED_armature_ebone_selectflag_disable(struct EditBone *ebone, int flag);
|
||||
|
||||
/* pose_edit.c */
|
||||
|
||||
struct Object *ED_pose_object_from_context(struct bContext *C);
|
||||
bool ED_object_posemode_exit_ex(struct Main *bmain, struct Object *ob);
|
||||
bool ED_object_posemode_exit(struct bContext *C, struct Object *ob);
|
||||
@@ -357,6 +358,7 @@ void ED_pose_bone_select_tag_update(struct Object *ob);
|
||||
void ED_pose_bone_select(struct Object *ob, struct bPoseChannel *pchan, bool select);
|
||||
|
||||
/* meshlaplacian.c */
|
||||
|
||||
void ED_mesh_deform_bind_callback(struct Object *object,
|
||||
struct MeshDeformModifierData *mmd,
|
||||
struct Mesh *cagemesh,
|
||||
|
||||
@@ -39,6 +39,7 @@ struct wmWindowManager;
|
||||
*/
|
||||
|
||||
/* gizmo_library_presets.c */
|
||||
|
||||
void ED_gizmo_draw_preset_box(const struct wmGizmo *gz, float mat[4][4], int select_id);
|
||||
void ED_gizmo_draw_preset_arrow(const struct wmGizmo *gz,
|
||||
float mat[4][4],
|
||||
@@ -223,6 +224,7 @@ enum {
|
||||
/* Specific gizmos utils */
|
||||
|
||||
/* dial3d_gizmo.c */
|
||||
|
||||
struct Dial3dParams {
|
||||
int draw_options;
|
||||
float angle_ofs;
|
||||
@@ -240,6 +242,7 @@ void ED_gizmotypes_dial_3d_draw_util(const float matrix_basis[4][4],
|
||||
struct Dial3dParams *params);
|
||||
|
||||
/* snap3d_gizmo.c */
|
||||
|
||||
struct SnapObjectContext *ED_gizmotypes_snap_3d_context_ensure(struct Scene *scene,
|
||||
struct wmGizmo *gz);
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@ struct wmOperator;
|
||||
struct wmWindowManager;
|
||||
|
||||
/* image_draw.c */
|
||||
|
||||
float ED_space_image_zoom_level(const struct View2D *v2d, int grid_dimension);
|
||||
void ED_space_image_grid_steps(struct SpaceImage *sima,
|
||||
float grid_steps[SI_GRID_STEPS_LEN],
|
||||
@@ -162,6 +163,7 @@ int ED_image_save_all_modified_info(const struct Main *bmain, struct ReportList
|
||||
bool ED_image_save_all_modified(const struct bContext *C, struct ReportList *reports);
|
||||
|
||||
/* image_sequence.c */
|
||||
|
||||
typedef struct ImageFrameRange {
|
||||
struct ImageFrameRange *next, *prev;
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@ struct Main;
|
||||
struct wmWindowManager;
|
||||
|
||||
/* info_stats.c */
|
||||
|
||||
void ED_info_stats_clear(struct wmWindowManager *wm, struct ViewLayer *view_layer);
|
||||
const char *ED_info_statusbar_string(struct Main *bmain,
|
||||
struct Scene *scene,
|
||||
|
||||
@@ -335,6 +335,7 @@ bool EDBM_selectmode_disable_multi(struct bContext *C,
|
||||
short selectmode_fallback);
|
||||
|
||||
/* editmesh_preselect_edgering.c */
|
||||
|
||||
struct EditMesh_PreSelEdgeRing;
|
||||
struct EditMesh_PreSelEdgeRing *EDBM_preselect_edgering_create(void);
|
||||
void EDBM_preselect_edgering_destroy(struct EditMesh_PreSelEdgeRing *psel);
|
||||
@@ -347,6 +348,7 @@ void EDBM_preselect_edgering_update_from_edge(struct EditMesh_PreSelEdgeRing *ps
|
||||
const float (*coords)[3]);
|
||||
|
||||
/* editmesh_preselect_elem.c */
|
||||
|
||||
struct EditMesh_PreSelElem;
|
||||
typedef enum eEditMesh_PreSelPreviewAction {
|
||||
PRESELECT_ACTION_TRANSFORM = 1,
|
||||
@@ -441,6 +443,7 @@ void ED_mesh_mirrtopo_init(struct BMEditMesh *em,
|
||||
void ED_mesh_mirrtopo_free(MirrTopoStore_t *mesh_topo_store);
|
||||
|
||||
/* object_vgroup.c */
|
||||
|
||||
#define WEIGHT_REPLACE 1
|
||||
#define WEIGHT_ADD 2
|
||||
#define WEIGHT_SUBTRACT 3
|
||||
|
||||
@@ -66,6 +66,7 @@ Object **ED_object_array_in_mode_or_selected(struct bContext *C,
|
||||
uint *r_objects_len);
|
||||
|
||||
/* object_utils.c */
|
||||
|
||||
bool ED_object_calc_active_center_for_editmode(struct Object *obedit,
|
||||
bool select_only,
|
||||
float r_center[3]);
|
||||
@@ -126,6 +127,7 @@ void ED_object_xform_skip_child_container_item_ensure(struct XFormObjectSkipChil
|
||||
void ED_object_xform_array_m4(struct Object **objects, uint objects_len, const float matrix[4][4]);
|
||||
|
||||
/* object_ops.c */
|
||||
|
||||
void ED_operatortypes_object(void);
|
||||
void ED_operatormacros_object(void);
|
||||
void ED_keymap_object(struct wmKeyConfig *keyconf);
|
||||
@@ -581,6 +583,7 @@ bool ED_object_iter_other(struct Main *bmain,
|
||||
bool ED_object_multires_update_totlevels_cb(struct Object *ob, void *totlevel_v);
|
||||
|
||||
/* object_greasepencil_modifier.c */
|
||||
|
||||
struct GpencilModifierData *ED_object_gpencil_modifier_add(struct ReportList *reports,
|
||||
struct Main *bmain,
|
||||
struct Scene *scene,
|
||||
@@ -615,6 +618,7 @@ void ED_object_gpencil_modifier_copy_to_object(struct Object *ob_dst,
|
||||
struct GpencilModifierData *md);
|
||||
|
||||
/* object_shader_fx.c */
|
||||
|
||||
struct ShaderFxData *ED_object_shaderfx_add(struct ReportList *reports,
|
||||
struct Main *bmain,
|
||||
struct Scene *scene,
|
||||
@@ -640,6 +644,7 @@ void ED_object_shaderfx_link(struct Object *dst, struct Object *src);
|
||||
void ED_object_shaderfx_copy(struct Object *dst, struct ShaderFxData *fx);
|
||||
|
||||
/* object_select.c */
|
||||
|
||||
void ED_object_select_linked_by_id(struct bContext *C, struct ID *id);
|
||||
|
||||
const struct EnumPropertyItem *ED_object_vgroup_selection_itemf_helper(
|
||||
@@ -690,6 +695,7 @@ void ED_object_facemap_face_add(struct Object *ob, struct bFaceMap *fmap, int fa
|
||||
void ED_object_facemap_face_remove(struct Object *ob, struct bFaceMap *fmap, int facenum);
|
||||
|
||||
/* object_data_transform.c */
|
||||
|
||||
struct XFormObjectData *ED_object_data_xform_create_ex(struct ID *id, bool is_edit_mode);
|
||||
struct XFormObjectData *ED_object_data_xform_create(struct ID *id);
|
||||
struct XFormObjectData *ED_object_data_xform_create_from_edit_mode(ID *id);
|
||||
|
||||
@@ -20,11 +20,13 @@ struct wmKeyConfig;
|
||||
struct wmOperator;
|
||||
|
||||
/* paint_ops.c */
|
||||
|
||||
void ED_operatortypes_paint(void);
|
||||
void ED_operatormacros_paint(void);
|
||||
void ED_keymap_paint(struct wmKeyConfig *keyconf);
|
||||
|
||||
/* paint_image.c */
|
||||
|
||||
void ED_imapaint_clear_partial_redraw(void);
|
||||
void ED_imapaint_dirty_region(struct Image *ima,
|
||||
struct ImBuf *ibuf,
|
||||
|
||||
@@ -19,11 +19,13 @@ struct Object;
|
||||
struct Scene;
|
||||
|
||||
/* particle_edit.c */
|
||||
|
||||
bool PE_poll(struct bContext *C);
|
||||
bool PE_hair_poll(struct bContext *C);
|
||||
bool PE_poll_view3d(struct bContext *C);
|
||||
|
||||
/* rigidbody_object.c */
|
||||
|
||||
bool ED_rigidbody_object_add(struct Main *bmain,
|
||||
struct Scene *scene,
|
||||
struct Object *ob,
|
||||
@@ -32,6 +34,7 @@ bool ED_rigidbody_object_add(struct Main *bmain,
|
||||
void ED_rigidbody_object_remove(struct Main *bmain, struct Scene *scene, struct Object *ob);
|
||||
|
||||
/* rigidbody_constraint.c */
|
||||
|
||||
bool ED_rigidbody_constraint_add(struct Main *bmain,
|
||||
struct Scene *scene,
|
||||
struct Object *ob,
|
||||
|
||||
@@ -134,6 +134,7 @@ void ED_region_visibility_change_update(struct bContext *C,
|
||||
struct ScrArea *area,
|
||||
struct ARegion *region);
|
||||
/* screen_ops.c */
|
||||
|
||||
/**
|
||||
* \note Assumes that \a region itself is not a split version from previous region.
|
||||
*/
|
||||
@@ -650,6 +651,7 @@ void ED_region_generic_tools_region_message_subscribe(
|
||||
int ED_region_generic_tools_region_snap_size(const struct ARegion *region, int size, int axis);
|
||||
|
||||
/* area_query.c */
|
||||
|
||||
bool ED_region_overlap_isect_x(const ARegion *region, int event_x);
|
||||
bool ED_region_overlap_isect_y(const ARegion *region, int event_y);
|
||||
bool ED_region_overlap_isect_xy(const ARegion *region, const int event_xy[2]);
|
||||
|
||||
@@ -42,6 +42,7 @@ void ED_text_undosys_type(struct UndoType *ut);
|
||||
struct UndoStep *ED_text_undo_push_init(struct bContext *C);
|
||||
|
||||
/* text_format.c */
|
||||
|
||||
bool ED_text_is_syntax_highlight_supported(struct Text *text);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
@@ -22,6 +22,7 @@ struct wmOperator;
|
||||
struct wmOperatorType;
|
||||
|
||||
/* undo.c */
|
||||
|
||||
/**
|
||||
* Run from the main event loop, basic checks that undo is left in a correct state.
|
||||
*/
|
||||
@@ -91,7 +92,8 @@ struct Base **ED_undo_editmode_bases_from_view_layer(struct ViewLayer *view_laye
|
||||
*/
|
||||
struct UndoStack *ED_undo_stack_get(void);
|
||||
|
||||
/* helpers */
|
||||
/* Helpers. */
|
||||
|
||||
void ED_undo_object_set_active_or_warn(struct Scene *scene,
|
||||
struct ViewLayer *view_layer,
|
||||
struct Object *ob,
|
||||
|
||||
@@ -20,6 +20,7 @@ struct wmEvent;
|
||||
struct wmOperator;
|
||||
|
||||
/* ed_util_imbuf.c */
|
||||
|
||||
void ED_imbuf_sample_draw(const struct bContext *C, struct ARegion *region, void *arg_info);
|
||||
void ED_imbuf_sample_exit(struct bContext *C, struct wmOperator *op);
|
||||
int ED_imbuf_sample_invoke(struct bContext *C, struct wmOperator *op, const struct wmEvent *event);
|
||||
|
||||
@@ -263,11 +263,13 @@ typedef enum {
|
||||
V3D_PROJ_TEST_CLIP_WIN)
|
||||
|
||||
/* view3d_snap.c */
|
||||
|
||||
bool ED_view3d_snap_selected_to_location(struct bContext *C,
|
||||
const float snap_target_global[3],
|
||||
int pivot_point);
|
||||
|
||||
/* view3d_cursor_snap.c */
|
||||
|
||||
#define USE_SNAP_DETECT_FROM_KEYMAP_HACK
|
||||
typedef enum {
|
||||
V3D_SNAPCURSOR_TOGGLE_ALWAYS_TRUE = 1 << 0,
|
||||
@@ -939,6 +941,7 @@ int view3d_opengl_select_with_id_filter(struct ViewContext *vc,
|
||||
uint select_id);
|
||||
|
||||
/* view3d_select.c */
|
||||
|
||||
float ED_view3d_select_dist_px(void);
|
||||
void ED_view3d_viewcontext_init(struct bContext *C,
|
||||
struct ViewContext *vc,
|
||||
|
||||
@@ -598,6 +598,7 @@ typedef bool (*uiMenuStepFunc)(struct bContext *C, int direction, void *arg1);
|
||||
typedef void (*uiFreeArgFunc)(void *arg);
|
||||
|
||||
/* interface_query.c */
|
||||
|
||||
bool UI_but_has_tooltip_label(const uiBut *but);
|
||||
bool UI_but_is_tool(const uiBut *but);
|
||||
/* file selectors are exempt from utf-8 checks */
|
||||
@@ -611,6 +612,7 @@ bool UI_block_can_add_separator(const uiBlock *block);
|
||||
struct uiList *UI_list_find_mouse_over(const struct ARegion *region, const struct wmEvent *event);
|
||||
|
||||
/* interface_region_menu_popup.c */
|
||||
|
||||
/**
|
||||
* Popup Menus
|
||||
*
|
||||
@@ -676,6 +678,7 @@ struct uiLayout *UI_popover_layout(uiPopover *pup);
|
||||
void UI_popover_once_clear(uiPopover *pup);
|
||||
|
||||
/* interface_region_menu_pie.c */
|
||||
|
||||
/* Pie menus */
|
||||
typedef struct uiPieMenu uiPieMenu;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user