Cleanup: trailing newlines

This commit is contained in:
2018-06-29 08:02:49 +02:00
parent 46dceefc35
commit af36dd4664
296 changed files with 0 additions and 320 deletions

View File

@@ -50,4 +50,3 @@ typedef struct BoxPack {
void BLI_box_pack_2d(BoxPack *boxarray, const unsigned int len, float *tot_width, float *tot_height);
#endif /* __BLI_BOXPACK_2D_H__ */

View File

@@ -40,4 +40,3 @@ char *BLI_dynlib_get_error_as_string(DynamicLibrary *lib);
void BLI_dynlib_close(DynamicLibrary *lib);
#endif /* __BLI_DYNLIB_H__ */

View File

@@ -66,4 +66,3 @@ struct dirlink {
};
#endif /* __BLI_FILEOPS_TYPES_H__ */

View File

@@ -37,4 +37,3 @@ void BLI_jitterate1(float (*jit1)[2], float (*jit2)[2], int num, float radius1);
void BLI_jitterate2(float (*jit1)[2], float (*jit2)[2], int num, float radius2);
#endif /* __BLI_JITTER_2D_H__ */

View File

@@ -199,4 +199,3 @@
/** \} */
#endif /* __BLI_LINKLIST_STACK_H__ */

View File

@@ -106,4 +106,3 @@ MINLINE void blend_color_interpolate_float(float dst[4], const float src1[4], co
#endif
#endif /* __BLI_MATH_COLOR_BLEND_H__ */

View File

@@ -508,4 +508,3 @@ float cubic_tangent_factor_circle_v3(const float tan_l[3], const float tan_r[3])
#endif
#endif /* __BLI_MATH_GEOM_H__ */

View File

@@ -283,4 +283,3 @@ void print_m4(const char *str, float M[4][4]);
#endif
#endif /* __BLI_MATH_MATRIX_H__ */

View File

@@ -235,4 +235,3 @@ bool mat3_from_axis_conversion_single(
#endif
#endif /* __BLI_MATH_ROTATION_H__ */

View File

@@ -69,4 +69,3 @@ bool BLI_tridiagonal_solve_cyclic(const float *a, const float *b, const float *c
#endif
#endif /* __BLI_MATH_SOLVERS_H__ */

View File

@@ -67,4 +67,3 @@ void BLI_covariance_m3_v3n(
#endif
#endif /* __BLI_MATH_STATISTICS_H__ */

View File

@@ -139,4 +139,3 @@ bool BLI_scanfill_calc_self_isect(
#endif
#endif

View File

@@ -227,4 +227,3 @@ BLI_INLINE void BLI_parallel_range_settings_defaults(
#endif
#endif

View File

@@ -209,4 +209,3 @@ void BLI_thread_queue_nowait(ThreadQueue *queue);
#endif
#endif

View File

@@ -58,4 +58,3 @@ VChar *BLI_vfontchar_from_freetypefont(struct VFont *vfont, unsigned long charac
VChar *BLI_vfontchar_copy(const VChar *vchar_src, const int flag);
#endif

View File

@@ -138,4 +138,3 @@ int BLI_getInstallationDir(char *str);
#endif
#endif /* __BLI_WINSTUFF_H__ */

View File

@@ -418,4 +418,3 @@ bool BLI_heap_is_valid(const Heap *heap)
}
/** \} */

View File

@@ -138,4 +138,3 @@ void BLI_dynlib_close(DynamicLibrary *lib)
}
#endif

View File

@@ -242,5 +242,3 @@ fnmatch (const char *pattern, const char *string, int flags)
/* intentionally empty for UNIX */
#endif /* WIN32 */

View File

@@ -144,4 +144,3 @@ uint32_t BLI_hash_mm2(const unsigned char *data, size_t len, uint32_t seed)
return h;
}

View File

@@ -179,4 +179,3 @@ bool BLI_tridiagonal_solve_cyclic(const float *a, const float *b, const float *c
return success;
}

View File

@@ -840,4 +840,3 @@ void BLI_threaded_malloc_end(void)
MEM_set_lock_callback(NULL, NULL);
}
}

View File

@@ -1104,4 +1104,3 @@ BMVert *BM_face_loop_separate_multi(BMesh *bm, BMLoop **larr, int larr_len)
{
return bmesh_kernel_unglue_region_make_vert_multi(bm, larr, larr_len);
}

View File

@@ -82,4 +82,3 @@ void bmo_beautify_fill_exec(BMesh *bm, BMOperator *op)
BMO_slot_buffer_from_enabled_flag(bm, op, op->slots_out, "geom.out", BM_EDGE | BM_FACE, ELE_NEW);
}

View File

@@ -543,4 +543,3 @@ void bmo_smooth_laplacian_vert_exec(BMesh *bm, BMOperator *op)
delete_laplacian_system(sys);
}

View File

@@ -456,4 +456,3 @@ void BM_mesh_beautify_fill(
TIMEIT_END(beautify_fill);
#endif
}

View File

@@ -53,4 +53,3 @@ private:
/** Hold error status. */
bool mError;
};

View File

@@ -83,4 +83,3 @@ private:
ExtraTags* currentExtraTags;
std::string currentElement;
};

View File

@@ -933,5 +933,3 @@ COLLADASW::URI GeometryExporter::makeUrl(std::string id)
{
return COLLADASW::URI(COLLADABU::Utils::EMPTY_STRING, id);
}

View File

@@ -242,4 +242,3 @@ void SceneExporter::writeNodes(bContext *C, Object *ob, Scene *sce)
if (ob->type != OB_ARMATURE)
colladaNode.end();
}

View File

@@ -357,4 +357,3 @@ std::string get_morph_id(Object *ob)
{
return translate_id(id_name(ob)) + "-morph";
}

View File

@@ -1088,4 +1088,3 @@ void mask_to_keylist(bDopeSheet *UNUSED(ads), MaskLayer *masklay, DLRBT_Tree *ke
}
}
}

View File

@@ -1471,4 +1471,3 @@ short bezt_selmap_flush(KeyframeEditData *ked, BezTriple *bezt)
return 0;
}

View File

@@ -258,4 +258,3 @@ int bone_looper(struct Object *ob, struct Bone *bone, void *data,
#endif /* __ARMATURE_INTERN_H__ */

View File

@@ -467,4 +467,3 @@ void ARMATURE_OT_autoside_names(wmOperatorType *ot)
/* settings */
ot->prop = RNA_def_enum(ot->srna, "type", axis_items, 0, "Axis", "Axis tag names with");
}

View File

@@ -419,4 +419,3 @@ void ED_keymap_armature(wmKeyConfig *keyconf)
WM_keymap_add_menu(keymap, "VIEW3D_MT_pose_specials", WKEY, KM_PRESS, 0, 0);
WM_keymap_add_menu(keymap, "VIEW3D_MT_pose_propagate", PKEY, KM_PRESS, KM_ALT, 0);
}

View File

@@ -900,4 +900,3 @@ void ARMATURE_OT_parent_clear(wmOperatorType *ot)
ot->prop = RNA_def_enum(ot->srna, "type", prop_editarm_clear_parent_types, 0, "ClearType", "What way to clear parenting");
}

View File

@@ -2661,4 +2661,3 @@ void SKETCH_OT_gesture(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_BLOCKING; // OPTYPE_UNDO
}

View File

@@ -70,4 +70,3 @@ void rigid_deform_end(int cancel);
/* ED_mesh_deform_bind_callback(...) defined in ED_armature.h */
#endif

View File

@@ -1215,4 +1215,3 @@ void POSE_OT_quaternions_flip(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
}

View File

@@ -948,4 +948,3 @@ void POSE_OT_select_mirror(wmOperatorType *ot)
RNA_def_boolean(ot->srna, "only_active", false, "Active Only", "Only operate on the active bone");
RNA_def_boolean(ot->srna, "extend", false, "Extend", "Extend the selection");
}

View File

@@ -101,4 +101,3 @@ BLI_INLINE void glScale2fv(const float vec[2]) { glScalef(UNPACK2(vec), 0.0); }
BLI_INLINE void glRotate3fv(const float angle, const float vec[3]) { glRotatef(angle, UNPACK3(vec)); }
#endif /* #ifdef __BIF_GL_H__ */

View File

@@ -231,4 +231,3 @@ void glaDrawImBuf_glsl_ctx_clipping(const struct bContext *C,
void glaDrawBorderCorners(const struct rcti *border, float zoomx, float zoomy);
#endif /* __BIF_GLUTIL_H__ */

View File

@@ -709,4 +709,3 @@ void ED_animedit_unlink_action(struct bContext *C, struct ID *id,
/* ************************************************ */
#endif /* __ED_ANIM_API_H__ */

View File

@@ -242,4 +242,3 @@ extern char datatoc_mc24_jpg[];
#endif /* __ED_DATAFILES_H__ */

View File

@@ -145,4 +145,3 @@ char *ED_fsmenu_entry_get_name(struct FSMenuEntry *fsentry);
void ED_fsmenu_entry_set_name(struct FSMenuEntry *fsentry, const char *name);
#endif /* __ED_FILESELECT_H__ */

View File

@@ -85,4 +85,3 @@ void ED_image_draw_info(struct Scene *scene, struct ARegion *ar, bool color_mana
bool ED_space_image_show_cache(struct SpaceImage *sima);
#endif /* __ED_IMAGE_H__ */

View File

@@ -110,4 +110,3 @@ void ED_operatormacros_node(void);
bool ED_space_node_color_sample(struct Main *bmain, struct SpaceNode *snode, struct ARegion *ar, int mval[2], float r_col[3]);
#endif /* __ED_NODE_H__ */

View File

@@ -66,4 +66,3 @@ void PE_deselect_all_visible(struct PTCacheEdit *edit);
void ED_particle_undosys_type(struct UndoType *ut);
#endif /* __ED_PARTICLE_H__ */

View File

@@ -57,4 +57,3 @@ void ED_operatortypes_physics(void);
void ED_keymap_physics(struct wmKeyConfig *keyconf);
#endif /* __ED_PHYSICS_H__ */

View File

@@ -207,4 +207,3 @@ void ED_region_cache_draw_cached_segments(const struct ARegion *ar, const int nu
#define ED_KEYMAP_HEADER 64
#endif /* __ED_SCREEN_H__ */

View File

@@ -34,4 +34,3 @@
void ED_operatortypes_sound(void);
#endif /* __ED_SOUND_H__ */

View File

@@ -61,4 +61,3 @@ void ED_undosys_type_free(void);
struct MemFile *ED_undosys_stack_memfile_get_active(struct UndoStack *ustack);
#endif /* __ED_UNDO_H__ */

View File

@@ -56,4 +56,3 @@ void apply_keyb_grid(int shift, int ctrl, float *val, float fac1, float fac2, fl
void unpack_menu(struct bContext *C, const char *opname, const char *id_name, const char *abs_name, const char *folder, struct PackedFile *pf);
#endif /* __ED_UTIL_H__ */

View File

@@ -136,4 +136,3 @@ void ED_uvedit_draw_main(
void ED_uvedit_buttons_register(struct ARegionType *art);
#endif /* __ED_UVEDIT_H__ */

View File

@@ -1033,4 +1033,3 @@ DEF_VICO(COLORSET_17_VEC)
DEF_VICO(COLORSET_18_VEC)
DEF_VICO(COLORSET_19_VEC)
DEF_VICO(COLORSET_20_VEC)

View File

@@ -180,4 +180,3 @@ uiBut *eyedropper_get_property_button_under_mouse(bContext *C, const wmEvent *ev
}
/** \} */

View File

@@ -1407,4 +1407,3 @@ void UI_icon_draw_preview_aspect_size(float x, float y, int icon_id, float aspec
{
icon_draw_size(x, y, icon_id, aspect, alpha, NULL, ICON_SIZE_PREVIEW, size, false, true);
}

View File

@@ -539,4 +539,3 @@ void UI_fontstyle_set(const uiFontStyle *fs)
BLF_size(font->blf_id, fs->points * U.pixelsize, U.dpi);
}

View File

@@ -2448,5 +2448,3 @@ void UI_view2d_text_cache_draw(ARegion *ar)
/* ******************************************************** */

View File

@@ -2168,4 +2168,3 @@ void ED_keymap_view2d(wmKeyConfig *keyconf)
WM_keymap_add_item(keymap, "VIEW2D_OT_zoom_in", PADPLUSKEY, KM_PRESS, 0, 0);
WM_keymap_add_item(keymap, "VIEW2D_OT_reset", HOMEKEY, KM_PRESS, 0, 0);
}

View File

@@ -336,4 +336,3 @@ void ED_masklayer_snap_frames(MaskLayer *masklay, Scene *scene, short mode)
break;
}
}

View File

@@ -723,4 +723,3 @@ void MESH_OT_dupli_extrude_cursor(wmOperatorType *ot)
}
/** \} */

View File

@@ -149,4 +149,3 @@ void MESH_OT_spin(wmOperatorType *ot)
}
/** \} */

View File

@@ -465,4 +465,3 @@ void ED_keymap_mesh(wmKeyConfig *keyconf)
knifetool_modal_keymap(keyconf);
}

View File

@@ -661,5 +661,3 @@ bool ED_mball_select_pick(bContext *C, const int mval[2], bool extend, bool dese
return false;
}

View File

@@ -47,4 +47,3 @@ void MBALL_OT_select_similar(struct wmOperatorType *ot);
void MBALL_OT_select_random_metaelems(struct wmOperatorType *ot);
#endif

View File

@@ -97,4 +97,3 @@ void ED_keymap_metaball(wmKeyConfig *keyconf)
ED_keymap_proportional_cycle(keyconf, keymap);
ED_keymap_proportional_editmode(keyconf, keymap, true);
}

View File

@@ -2096,4 +2096,3 @@ void POSE_OT_ik_clear(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
}

View File

@@ -910,4 +910,3 @@ void OBJECT_OT_hook_select(wmOperatorType *ot)
RNA_def_enum_funcs(prop, hook_mod_itemf);
RNA_def_property_flag(prop, PROP_ENUM_NO_TRANSLATE);
}

View File

@@ -271,4 +271,3 @@ void OBJECT_OT_data_transfer(struct wmOperatorType *ot);
void OBJECT_OT_datalayout_transfer(struct wmOperatorType *ot);
#endif /* __OBJECT_INTERN_H__ */

View File

@@ -500,4 +500,3 @@ void OBJECT_OT_shape_key_move(wmOperatorType *ot)
RNA_def_enum(ot->srna, "type", slot_move, 0, "Type", "");
}

View File

@@ -368,4 +368,3 @@ void BOID_OT_state_move_down(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO;
}

View File

@@ -4632,4 +4632,3 @@ void PARTICLE_OT_unify_length(struct wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO;
}

View File

@@ -1118,4 +1118,3 @@ void FLUID_OT_bake(wmOperatorType *ot)
ot->exec = fluid_bake_exec;
ot->poll = ED_operator_object_active_editable;
}

View File

@@ -245,6 +245,3 @@ void ED_keymap_physics(wmKeyConfig *keyconf)
keymap_particle(keyconf);
//keymap_pointcache(keyconf);
}

View File

@@ -469,4 +469,3 @@ void PTCACHE_OT_remove(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER|OPTYPE_UNDO;
}

View File

@@ -103,4 +103,3 @@ void RENDER_OT_view_cancel(struct wmOperatorType *ot);
void RENDER_OT_opengl(struct wmOperatorType *ot);
#endif /* __RENDER_INTERN_H__ */

View File

@@ -98,4 +98,3 @@ void ED_operatortypes_render(void)
/* render_opengl.c */
WM_operatortype_append(RENDER_OT_opengl);
}

View File

@@ -1306,4 +1306,3 @@ void ED_preview_kill_jobs(wmWindowManager *wm, Main *bmain)
ED_viewport_render_kill_jobs(wm, bmain, false);
}

View File

@@ -1926,4 +1926,3 @@ void TEXTURE_OT_slot_paste(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO | OPTYPE_INTERNAL;
}

View File

@@ -350,4 +350,3 @@ void RENDER_OT_view_show(struct wmOperatorType *ot)
ot->invoke = render_view_show_invoke;
ot->poll = ED_operator_screenactive;
}

View File

@@ -638,4 +638,3 @@ int ed_screen_context(const bContext *C, const char *member, bContextDataResult
return -1; /* found but not available */
}

View File

@@ -352,4 +352,3 @@ void ED_screen_draw_split_preview(ScrArea *sa, const int dir, const float fac)
glEnd();
glDisable(GL_BLEND);
}

View File

@@ -1223,4 +1223,3 @@ int mask_paint_poll(bContext *C)
{
return BKE_paint_select_elem_test(CTX_data_active_object(C));
}

View File

@@ -5945,4 +5945,3 @@ void PAINT_OT_add_simple_uvs(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
}

View File

@@ -3193,4 +3193,3 @@ void PAINT_OT_vertex_paint(wmOperatorType *ot)
paint_stroke_operator_properties(ot);
}

View File

@@ -34,4 +34,3 @@
#endif /* __SOUND_INTERN_H__ */

View File

@@ -148,4 +148,3 @@ void action_operatortypes(void);
void action_keymap(struct wmKeyConfig *keyconf);
#endif /* __ACTION_INTERN_H__ */

View File

@@ -289,4 +289,3 @@ void action_keymap(wmKeyConfig *keyconf)
keymap = WM_keymap_find(keyconf, "Dopesheet", SPACE_ACTION, 0);
action_keymap_keyframes(keyconf, keymap);
}

View File

@@ -705,4 +705,3 @@ void ED_spacetype_action(void)
BKE_spacetype_register(st);
}

View File

@@ -114,4 +114,3 @@ void BUTTONS_OT_directory_browse(struct wmOperatorType *ot);
void BUTTONS_OT_toolbox(struct wmOperatorType *ot);
#endif /* __BUTTONS_INTERN_H__ */

View File

@@ -687,4 +687,3 @@ void uiTemplateTextureShow(uiLayout *layout, bContext *C, PointerRNA *ptr, Prope
UI_but_func_set(but, template_texture_show, user->ptr.data, user->prop);
}
}

View File

@@ -485,4 +485,3 @@ void ED_spacetype_buttons(void)
BKE_spacetype_register(st);
}

View File

@@ -344,4 +344,3 @@ void CLIP_OT_stabilize_2d_rotation_select(wmOperatorType *ot)
/* flags */
ot->flag = OPTYPE_REGISTER | OPTYPE_UNDO;
}

View File

@@ -130,4 +130,3 @@ void file_panels_register(struct ARegionType *art);
void file_tile_boundbox(const ARegion *ar, FileLayout *layout, const int file, rcti *r_bounds);
#endif /* __FILE_INTERN_H__ */

View File

@@ -106,4 +106,3 @@ void file_panels_register(ARegionType *art)
pt->draw = file_panel_operator;
BLI_addtail(&art->paneltypes, pt);
}

View File

@@ -127,4 +127,3 @@ bool filelist_cache_previews_running(struct FileList *filelist);
#endif
#endif

View File

@@ -80,4 +80,3 @@ void fsmenu_refresh_bookmarks_status(struct FSMenu *fsmenu);
int fsmenu_get_active_indices(struct FSMenu *fsmenu, enum FSMenuCategory category, const char *dir);
#endif

View File

@@ -811,4 +811,3 @@ void ED_file_read_bookmarks(void)
fsmenu_read_bookmarks(ED_fsmenu_get(), name);
}
}

Some files were not shown because too many files have changed in this diff Show More