Cleanup: unused headers
This commit is contained in:
parent
bcbbc66795
commit
915235c87a
|
@ -38,7 +38,6 @@
|
|||
#include "blf_internal.h"
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_string_utf8.h"
|
||||
|
||||
unsigned int blf_next_p2(unsigned int x)
|
||||
{
|
||||
|
|
|
@ -73,10 +73,8 @@ static DerivedMesh *navmesh_dm_createNavMeshForVisualization(DerivedMesh *dm);
|
|||
#include "BLI_sys_types.h" /* for intptr_t support */
|
||||
|
||||
#include "GPU_buffers.h"
|
||||
#include "GPU_draw.h"
|
||||
#include "GPU_extensions.h"
|
||||
#include "GPU_glew.h"
|
||||
#include "GPU_material.h"
|
||||
|
||||
/* very slow! enable for testing only! */
|
||||
// #define USE_MODIFIER_VALIDATE
|
||||
|
|
|
@ -29,15 +29,9 @@
|
|||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_ghash.h"
|
||||
#include "BLI_string.h"
|
||||
|
||||
#include "BKE_addon.h" /* own include */
|
||||
|
||||
#include "RNA_access.h"
|
||||
#include "RNA_define.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
static GHash *global_addonpreftype_hash = NULL;
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_fnmatch.h"
|
||||
#include "BLI_string.h"
|
||||
#include "BLI_path_util.h"
|
||||
|
||||
#include "BKE_autoexec.h" /* own include */
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "BLI_math.h"
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_rand.h"
|
||||
#include "BLI_rect.h"
|
||||
|
||||
#include "BKE_brush.h"
|
||||
#include "BKE_colortools.h"
|
||||
|
@ -49,7 +48,6 @@
|
|||
#include "IMB_imbuf_types.h"
|
||||
|
||||
#include "RE_render_ext.h" /* externtex */
|
||||
#include "RE_shader_ext.h"
|
||||
|
||||
static RNG *brush_rng;
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
*/
|
||||
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_edgehash.h"
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_stackdefines.h"
|
||||
|
@ -49,7 +48,6 @@
|
|||
#include "BKE_editmesh.h"
|
||||
#include "BKE_curve.h"
|
||||
|
||||
#include "DNA_material_types.h"
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
|
@ -61,7 +59,6 @@
|
|||
#include "GPU_draw.h"
|
||||
#include "GPU_extensions.h"
|
||||
#include "GPU_glew.h"
|
||||
#include "GPU_material.h"
|
||||
|
||||
#include <string.h>
|
||||
#include <limits.h>
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
|
||||
/* ********************************* color curve ********************* */
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "DNA_curve_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_vfont_types.h"
|
||||
|
|
|
@ -71,10 +71,6 @@
|
|||
#include "BKE_scene.h"
|
||||
#include "BKE_texture.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
#include "RNA_define.h"
|
||||
#include "RNA_enum_types.h"
|
||||
|
||||
/* for image output */
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
#include "DNA_scene_types.h"
|
||||
#include "DNA_texture_types.h"
|
||||
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
|
|
|
@ -53,8 +53,6 @@
|
|||
#include "BKE_colortools.h"
|
||||
#include "BKE_animsys.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
|
||||
static const char *modifier_name[LS_MODIFIER_NUM] = {
|
||||
NULL,
|
||||
"Along Stroke",
|
||||
|
|
|
@ -59,8 +59,6 @@
|
|||
#include "BKE_movieclip.h"
|
||||
#include "BKE_image.h"
|
||||
|
||||
#include "NOD_composite.h"
|
||||
|
||||
static struct {
|
||||
ListBase splines;
|
||||
struct GHash *id_hash;
|
||||
|
|
|
@ -40,8 +40,6 @@
|
|||
#include "BLI_math.h"
|
||||
|
||||
#include "DNA_mask_types.h"
|
||||
#include "DNA_node_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_curve.h"
|
||||
#include "BKE_mask.h"
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
|
||||
#include "DNA_armature_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_path_util.h"
|
||||
|
|
|
@ -69,7 +69,6 @@
|
|||
#include "BKE_image.h" /* openanim */
|
||||
#include "BKE_tracking.h"
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_moviecache.h"
|
||||
|
@ -78,8 +77,6 @@
|
|||
# include "intern/openexr/openexr_multi.h"
|
||||
#endif
|
||||
|
||||
#include "NOD_composite.h"
|
||||
|
||||
/*********************** movieclip buffer loaders *************************/
|
||||
|
||||
static int sequence_guess_offset(const char *full_name, int head_len, unsigned short numlen)
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
#include "BLI_threads.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_system.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
|
||||
|
|
|
@ -62,8 +62,6 @@
|
|||
#include "BKE_pointcache.h"
|
||||
#include "BKE_rigidbody.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
|
||||
#ifdef WITH_BULLET
|
||||
|
||||
/* ************************************** */
|
||||
|
|
|
@ -52,7 +52,6 @@
|
|||
#include "BKE_deform.h"
|
||||
#include "BKE_mesh.h" /* for OMP limits. */
|
||||
#include "BKE_subsurf.h"
|
||||
#include "BKE_editmesh.h"
|
||||
|
||||
#include "BLI_strict_flags.h"
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "DNA_material_types.h"
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_modifier_types.h"
|
||||
|
@ -66,8 +65,6 @@
|
|||
#include "BKE_scene.h"
|
||||
#include "BKE_subsurf.h"
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
#ifndef USE_DYNSIZE
|
||||
# include "BLI_array.h"
|
||||
#endif
|
||||
|
@ -75,7 +72,6 @@
|
|||
#include "GPU_draw.h"
|
||||
#include "GPU_extensions.h"
|
||||
#include "GPU_glew.h"
|
||||
#include "GPU_material.h"
|
||||
|
||||
#include "CCGSubSurf.h"
|
||||
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_kdopbvh.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include "BKE_tracking.h"
|
||||
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
|
||||
#include "libmv-capi.h"
|
||||
|
||||
|
|
|
@ -35,11 +35,8 @@
|
|||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "DNA_movieclip_types.h"
|
||||
#include "DNA_object_types.h" /* SELECT */
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_ghash.h"
|
||||
#include "BLI_threads.h"
|
||||
|
||||
#include "BKE_tracking.h"
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include "DNA_scene_types.h"
|
||||
#include "DNA_texture_types.h"
|
||||
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_animsys.h"
|
||||
|
|
|
@ -80,7 +80,9 @@ static void filepath_avi(char *string, RenderData *rd);
|
|||
# include "BKE_writeffmpeg.h"
|
||||
#endif
|
||||
|
||||
#include "BKE_writeframeserver.h"
|
||||
#ifdef WITH_FRAMESERVER
|
||||
# include "BKE_writeframeserver.h"
|
||||
#endif
|
||||
|
||||
bMovieHandle *BKE_movie_handle_get(const char imtype)
|
||||
{
|
||||
|
|
|
@ -57,7 +57,6 @@
|
|||
#include "BKE_sound.h"
|
||||
#include "BKE_writeffmpeg.h"
|
||||
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
|
||||
#include "ffmpeg_compat.h"
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "DNA_vec_types.h"
|
||||
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_rect.h"
|
||||
#include "BLI_strict_flags.h"
|
||||
|
||||
#include "BLI_lasso.h" /* own include */
|
||||
|
|
|
@ -141,13 +141,9 @@
|
|||
#include "BKE_treehash.h"
|
||||
#include "BKE_sound.h"
|
||||
|
||||
#include "IMB_imbuf.h" // for proxy / timecode versioning stuff
|
||||
|
||||
#include "NOD_common.h"
|
||||
#include "NOD_socket.h"
|
||||
#include "NOD_composite.h"
|
||||
#include "NOD_shader.h"
|
||||
#include "NOD_texture.h"
|
||||
|
||||
#include "BLO_readfile.h"
|
||||
#include "BLO_undofile.h"
|
||||
|
@ -157,7 +153,6 @@
|
|||
|
||||
#include "readfile.h"
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
|
|
|
@ -51,7 +51,6 @@
|
|||
#include "BLO_readfile.h"
|
||||
#include "BLO_runtime.h"
|
||||
|
||||
#include "BKE_blender.h"
|
||||
#include "BKE_report.h"
|
||||
|
||||
/* Runtime reading */
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include "DNA_listBase.h"
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_linklist.h"
|
||||
|
||||
#include "BLO_undofile.h"
|
||||
|
||||
|
|
|
@ -25,8 +25,6 @@
|
|||
* \ingroup blenloader
|
||||
*/
|
||||
|
||||
#include "zlib.h"
|
||||
|
||||
#ifndef WIN32
|
||||
# include <unistd.h> /* for read close */
|
||||
#else
|
||||
|
@ -90,14 +88,9 @@
|
|||
#include "NOD_socket.h"
|
||||
|
||||
#include "BLO_readfile.h"
|
||||
#include "BLO_undofile.h"
|
||||
|
||||
#include "RE_engine.h"
|
||||
|
||||
#include "readfile.h"
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
#include <errno.h>
|
||||
|
||||
/* 2.50 patch */
|
||||
|
|
|
@ -30,8 +30,6 @@
|
|||
*/
|
||||
|
||||
|
||||
#include "zlib.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#ifndef WIN32
|
||||
|
@ -94,14 +92,9 @@
|
|||
#include "BKE_scene.h"
|
||||
#include "BKE_sequencer.h"
|
||||
|
||||
#include "IMB_imbuf.h" // for proxy / timecode versioning stuff
|
||||
|
||||
#include "NOD_socket.h"
|
||||
|
||||
#include "BLO_readfile.h"
|
||||
#include "BLO_undofile.h"
|
||||
|
||||
#include "RE_engine.h"
|
||||
|
||||
#include "readfile.h"
|
||||
|
||||
|
|
|
@ -79,8 +79,6 @@
|
|||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#include "zlib.h"
|
||||
|
||||
#ifdef WIN32
|
||||
# include "winsock2.h"
|
||||
# include <io.h>
|
||||
|
@ -156,7 +154,6 @@
|
|||
#include "BKE_node.h"
|
||||
#include "BKE_report.h"
|
||||
#include "BKE_sequencer.h"
|
||||
#include "BKE_sound.h"
|
||||
#include "BKE_subsurf.h"
|
||||
#include "BKE_modifier.h"
|
||||
#include "BKE_fcurve.h"
|
||||
|
@ -164,11 +161,9 @@
|
|||
#include "BKE_mesh.h"
|
||||
|
||||
#ifdef USE_NODE_COMPAT_CUSTOMNODES
|
||||
#include "NOD_common.h"
|
||||
#include "NOD_socket.h" /* for sock->default_value data */
|
||||
#endif
|
||||
|
||||
#include "RNA_access.h"
|
||||
|
||||
#include "BLO_writefile.h"
|
||||
#include "BLO_readfile.h"
|
||||
|
|
|
@ -26,8 +26,6 @@
|
|||
* Creates a solid wireframe from connected faces.
|
||||
*/
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "DNA_material_types.h"
|
||||
|
||||
#include "BLI_sys_types.h"
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
|
||||
#include "DNA_anim_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_node_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
#include "BKE_fcurve.h"
|
||||
|
|
|
@ -49,7 +49,6 @@
|
|||
#include "BKE_global.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
#include "RNA_enum_types.h"
|
||||
|
||||
#include "ED_anim_api.h"
|
||||
#include "ED_keyframing.h"
|
||||
|
|
|
@ -58,8 +58,6 @@
|
|||
#include "ED_gpencil.h"
|
||||
#include "ED_view3d.h"
|
||||
|
||||
#include "gpencil_intern.h"
|
||||
|
||||
/* ************************************************** */
|
||||
/* GREASE PENCIL DRAWING */
|
||||
|
||||
|
|
|
@ -49,8 +49,6 @@
|
|||
#include "ED_keyframes_edit.h"
|
||||
#include "ED_markers.h"
|
||||
|
||||
#include "gpencil_intern.h"
|
||||
|
||||
/* ***************************************** */
|
||||
/* NOTE ABOUT THIS FILE:
|
||||
* This file contains code for editing Grease Pencil data in the Action Editor
|
||||
|
|
|
@ -55,8 +55,6 @@
|
|||
#include "UI_interface.h"
|
||||
#include "UI_resources.h"
|
||||
|
||||
#include "gpencil_intern.h"
|
||||
|
||||
/* ************************************************** */
|
||||
/* GREASE PENCIL PANEL-UI DRAWING */
|
||||
|
||||
|
|
|
@ -28,14 +28,6 @@
|
|||
* \ingroup collada
|
||||
*/
|
||||
|
||||
|
||||
#include "io_collada.h"
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "WM_types.h"
|
||||
#include "WM_api.h"
|
||||
|
||||
#include "io_ops.h" /* own include */
|
||||
|
||||
void ED_operatortypes_io(void)
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
#include "BLI_blenlib.h"
|
||||
#include "BLI_threads.h"
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
#include "BKE_blender.h"
|
||||
#include "BKE_screen.h"
|
||||
|
|
|
@ -72,8 +72,6 @@
|
|||
#include "DNA_scene_types.h"
|
||||
#include "DNA_mesh_types.h"
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
|
||||
static float get_fluid_viscosity(FluidsimSettings *settings)
|
||||
{
|
||||
|
|
|
@ -66,8 +66,6 @@
|
|||
#include "WM_api.h"
|
||||
#include "WM_types.h"
|
||||
|
||||
#include "GPU_buffers.h"
|
||||
|
||||
#include "ED_armature.h"
|
||||
#include "ED_object.h"
|
||||
#include "ED_mesh.h"
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
#include "DNA_node_types.h"
|
||||
#include "DNA_screen_types.h"
|
||||
#include "DNA_space_types.h"
|
||||
|
||||
#include "BLI_listbase.h"
|
||||
#include "BLI_string.h"
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "DNA_scene_types.h"
|
||||
#include "DNA_userdef_types.h"
|
||||
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_sequencer.h"
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
|
||||
#include "UI_resources.h"
|
||||
|
||||
#include "GPU_buffers.h"
|
||||
#include "GPU_extensions.h"
|
||||
#include "GPU_draw.h"
|
||||
#include "GPU_material.h"
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include "BLI_boxpack2d.h"
|
||||
#include "BLI_convexhull2d.h"
|
||||
|
||||
#include "uvedit_intern.h"
|
||||
#include "uvedit_parametrizer.h"
|
||||
|
||||
#include <math.h>
|
||||
|
|
|
@ -46,13 +46,11 @@
|
|||
#include "BLI_ghash.h"
|
||||
#include "BLI_threads.h"
|
||||
|
||||
#include "DNA_material_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
|
||||
#include "BKE_ccg.h"
|
||||
#include "BKE_DerivedMesh.h"
|
||||
#include "BKE_paint.h"
|
||||
#include "BKE_material.h"
|
||||
#include "BKE_pbvh.h"
|
||||
|
||||
#include "DNA_userdef_types.h"
|
||||
|
@ -62,8 +60,6 @@
|
|||
|
||||
#include "bmesh.h"
|
||||
|
||||
#include "gpu_extensions_private.h"
|
||||
|
||||
typedef enum {
|
||||
GPU_BUFFER_VERTEX_STATE = (1 << 0),
|
||||
GPU_BUFFER_NORMAL_STATE = (1 << 1),
|
||||
|
|
|
@ -51,8 +51,6 @@
|
|||
|
||||
#include "gpu_codegen.h"
|
||||
|
||||
#include "node_util.h" /* For muting node stuff... */
|
||||
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include "BLI_sys_types.h"
|
||||
#include "GPU_init_exit.h" /* interface */
|
||||
#include "GPU_extensions.h" /* library */
|
||||
|
||||
#include "intern/gpu_codegen.h"
|
||||
#include "intern/gpu_extensions_private.h"
|
||||
|
|
|
@ -33,8 +33,6 @@
|
|||
#include "GPU_extensions.h"
|
||||
#include "GPU_glew.h"
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "DNA_userdef_types.h"
|
||||
|
|
|
@ -47,9 +47,6 @@
|
|||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
|
||||
#include "GPU_extensions.h"
|
||||
#include "GPU_simple_shader.h"
|
||||
|
||||
|
|
|
@ -32,15 +32,10 @@
|
|||
|
||||
#include "BIK_api.h"
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_math.h"
|
||||
|
||||
#include "BKE_armature.h"
|
||||
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_action_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
#include "DNA_constraint_types.h"
|
||||
#include "DNA_armature_types.h"
|
||||
|
||||
#include "ikplugin_api.h"
|
||||
|
||||
|
|
|
@ -48,7 +48,6 @@
|
|||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BLI_threads.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
static SpinLock refcounter_spin;
|
||||
|
||||
|
|
|
@ -70,12 +70,8 @@
|
|||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "DNA_userdef_types.h"
|
||||
|
||||
#include "BKE_global.h"
|
||||
|
||||
#include "imbuf.h"
|
||||
|
||||
#ifdef WITH_AVI
|
||||
# include "AVI_avi.h"
|
||||
#endif
|
||||
|
@ -89,7 +85,6 @@
|
|||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
|
||||
#include "IMB_allocimbuf.h"
|
||||
#include "IMB_anim.h"
|
||||
#include "IMB_indexer.h"
|
||||
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_allocimbuf.h"
|
||||
#include "IMB_filetype.h"
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
#include "DNA_scene_types.h"
|
||||
#include "DNA_space_types.h"
|
||||
|
||||
#include "IMB_filter.h"
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_filetype.h"
|
||||
|
@ -53,7 +52,6 @@
|
|||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BLI_blenlib.h"
|
||||
#include "BLI_fileops.h"
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_math_color.h"
|
||||
#include "BLI_string.h"
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
#include "imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_allocimbuf.h"
|
||||
#include "IMB_filter.h"
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
|
|
|
@ -51,8 +51,6 @@
|
|||
#include "quicktime_import.h"
|
||||
#endif
|
||||
|
||||
#include "imbuf.h"
|
||||
|
||||
static int imb_ftype_default(ImFileType *type, ImBuf *ibuf)
|
||||
{
|
||||
return (ibuf->ftype & type->filetype);
|
||||
|
|
|
@ -40,7 +40,6 @@
|
|||
#include "imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_allocimbuf.h"
|
||||
#include "IMB_filetype.h"
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
|
|
|
@ -29,11 +29,8 @@
|
|||
#include "BLI_math.h"
|
||||
#include "BLI_fileops.h"
|
||||
|
||||
#include "imbuf.h"
|
||||
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
#include "IMB_allocimbuf.h"
|
||||
#include "IMB_filetype.h"
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
|
|
|
@ -41,8 +41,6 @@
|
|||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "imbuf.h"
|
||||
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
|
||||
|
|
|
@ -39,11 +39,9 @@
|
|||
#include "BLI_math_color_blend.h"
|
||||
#include "BLI_math_vector.h"
|
||||
|
||||
#include "imbuf.h"
|
||||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
|
||||
#include "IMB_allocimbuf.h"
|
||||
#include "IMB_colormanagement.h"
|
||||
|
||||
void IMB_blend_color_byte(unsigned char dst[4], unsigned char src1[4], unsigned char src2[4], IMB_BlendMode mode)
|
||||
|
|
|
@ -39,8 +39,6 @@
|
|||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
|
||||
#include "IMB_allocimbuf.h"
|
||||
|
||||
void IMB_flipy(struct ImBuf *ibuf)
|
||||
{
|
||||
int x, y;
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_math_base.h"
|
||||
#include "BLI_math_color.h"
|
||||
#include "BLI_math_interp.h"
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
@ -42,7 +41,6 @@
|
|||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
|
||||
#include "IMB_allocimbuf.h"
|
||||
#include "IMB_filter.h"
|
||||
|
||||
#include "BLI_sys_types.h" // for intptr_t support
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
|
||||
#include "IMB_allocimbuf.h"
|
||||
#include "IMB_filetype.h"
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
|
|
|
@ -29,8 +29,6 @@
|
|||
|
||||
#include "zlib.h"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_endian_switch.h"
|
||||
#include "BLI_fileops.h"
|
||||
|
|
|
@ -53,9 +53,7 @@
|
|||
#include "IMB_imbuf_types.h"
|
||||
#include "IMB_imbuf.h"
|
||||
|
||||
#include "IMB_allocimbuf.h"
|
||||
#include "IMB_filetype.h"
|
||||
#include "IMB_filter.h"
|
||||
|
||||
#include "IMB_colormanagement.h"
|
||||
#include "IMB_colormanagement_intern.h"
|
||||
|
|
|
@ -41,8 +41,6 @@
|
|||
#include "IMB_colormanagement.h"
|
||||
#include "IMB_colormanagement_intern.h"
|
||||
|
||||
#include "imbuf.h"
|
||||
|
||||
static ImBuf *prepare_write_imbuf(ImFileType *type, ImBuf *ibuf)
|
||||
{
|
||||
ImBuf *write_ibuf = ibuf;
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
#include "RNA_define.h"
|
||||
#include "RNA_types.h"
|
||||
|
||||
|
|
|
@ -39,8 +39,6 @@
|
|||
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
|
||||
#include "BKE_cdderivedmesh.h"
|
||||
#include "BKE_modifier.h"
|
||||
|
||||
|
@ -49,8 +47,6 @@
|
|||
#include "MOD_boolean_util.h"
|
||||
#include "MOD_util.h"
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
static void copyData(ModifierData *md, ModifierData *target)
|
||||
{
|
||||
#if 0
|
||||
|
|
|
@ -40,17 +40,13 @@
|
|||
#include "BLI_math_vector.h"
|
||||
#include "BLI_ghash.h"
|
||||
|
||||
#include "DNA_scene_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
|
||||
#include "BKE_cdderivedmesh.h"
|
||||
#include "BKE_mesh.h"
|
||||
#include "BKE_modifier.h"
|
||||
#include "BKE_particle.h"
|
||||
#include "BKE_scene.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
static void initData(ModifierData *md)
|
||||
{
|
||||
BuildModifierData *bmd = (BuildModifierData *) md;
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
* \ingroup modifiers
|
||||
*/
|
||||
|
||||
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
|
||||
|
@ -49,8 +48,6 @@
|
|||
#include "BKE_pointcache.h"
|
||||
#include "BKE_scene.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
static void initData(ModifierData *md)
|
||||
{
|
||||
CollisionModifierData *collmd = (CollisionModifierData *) md;
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
* \ingroup modifiers
|
||||
*/
|
||||
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "DNA_scene_types.h"
|
||||
|
@ -47,7 +46,6 @@
|
|||
|
||||
#include "depsgraph_private.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
static void initData(ModifierData *md)
|
||||
{
|
||||
|
|
|
@ -35,17 +35,12 @@
|
|||
#include "DNA_object_types.h"
|
||||
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_string.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "BKE_mesh.h"
|
||||
#include "BKE_modifier.h"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_particle.h"
|
||||
#include "BKE_cdderivedmesh.h"
|
||||
|
||||
#include "bmesh.h"
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#include <stddef.h>
|
||||
|
||||
#include "DNA_dynamicpaint_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_scene_types.h"
|
||||
|
||||
|
@ -40,8 +39,6 @@
|
|||
|
||||
#include "depsgraph_private.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
|
||||
static void initData(ModifierData *md)
|
||||
{
|
||||
|
|
|
@ -54,7 +54,6 @@
|
|||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
static void initData(ModifierData *md)
|
||||
{
|
||||
|
|
|
@ -45,7 +45,6 @@
|
|||
|
||||
#include "depsgraph_private.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
#include "MOD_fluidsim_util.h"
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
#include "BKE_deform.h"
|
||||
#include "BKE_modifier.h"
|
||||
|
||||
#include "MOD_modifiertypes.h"
|
||||
#include "MOD_util.h"
|
||||
|
||||
#ifdef WITH_OPENNL
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include "DNA_object_types.h"
|
||||
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_string.h"
|
||||
|
||||
#include "BKE_cdderivedmesh.h"
|
||||
#include "BKE_lattice.h"
|
||||
|
|
|
@ -51,8 +51,6 @@
|
|||
|
||||
#include "depsgraph_private.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
static void copyData(ModifierData *md, ModifierData *target)
|
||||
{
|
||||
#if 0
|
||||
|
|
|
@ -48,8 +48,6 @@
|
|||
|
||||
#include "MOD_modifiertypes.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
static void initData(ModifierData *md)
|
||||
{
|
||||
MeshCacheModifierData *mcmd = (MeshCacheModifierData *)md;
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
#include "BLI_sys_types.h"
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_fileops.h"
|
||||
#include "BLI_math.h"
|
||||
#ifdef __BIG_ENDIAN__
|
||||
# include "BLI_endian_switch.h"
|
||||
#endif
|
||||
|
|
|
@ -40,8 +40,6 @@
|
|||
#include "BLI_task.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
|
||||
#include "BKE_cdderivedmesh.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_modifier.h"
|
||||
|
|
|
@ -42,8 +42,6 @@
|
|||
#include "BKE_modifier.h"
|
||||
#include "BKE_deform.h"
|
||||
|
||||
#include "bmesh.h"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
#include "depsgraph_private.h"
|
||||
|
||||
|
|
|
@ -44,11 +44,8 @@
|
|||
#include "BKE_mesh.h"
|
||||
#include "BKE_multires.h"
|
||||
#include "BKE_modifier.h"
|
||||
#include "BKE_paint.h"
|
||||
#include "BKE_subsurf.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
static void initData(ModifierData *md)
|
||||
{
|
||||
MultiresModifierData *mmd = (MultiresModifierData *)md;
|
||||
|
|
|
@ -43,8 +43,6 @@
|
|||
#include "BKE_modifier.h"
|
||||
#include "BKE_ocean.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
#ifdef WITH_OCEANSIM
|
||||
static void init_cache_data(Object *ob, struct OceanModifierData *omd)
|
||||
{
|
||||
|
|
|
@ -48,8 +48,6 @@
|
|||
#include "BKE_particle.h"
|
||||
#include "BKE_pointcache.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
#include "depsgraph_private.h"
|
||||
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
#include "DNA_object_types.h"
|
||||
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_string.h"
|
||||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "BKE_cdderivedmesh.h"
|
||||
|
|
|
@ -79,8 +79,6 @@
|
|||
|
||||
#include "bmesh.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
typedef struct {
|
||||
float mat[3][3];
|
||||
/* Vert that edge is pointing away from, no relation to
|
||||
|
|
|
@ -52,9 +52,6 @@
|
|||
|
||||
#include "depsgraph_private.h"
|
||||
|
||||
#include "MOD_util.h"
|
||||
|
||||
|
||||
static void initData(ModifierData *md)
|
||||
{
|
||||
SmokeModifierData *smd = (SmokeModifierData *) md;
|
||||
|
|
|
@ -31,7 +31,6 @@
|
|||
|
||||
#include "BKE_cdderivedmesh.h"
|
||||
#include "BKE_modifier.h"
|
||||
#include "BKE_editmesh.h"
|
||||
|
||||
#include "bmesh.h"
|
||||
#include "bmesh_tools.h"
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include "DNA_curve_types.h"
|
||||
#include "DNA_image_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_modifier_types.h"
|
||||
|
@ -48,8 +47,6 @@
|
|||
#include "BKE_image.h"
|
||||
#include "BKE_lattice.h"
|
||||
#include "BKE_mesh.h"
|
||||
#include "BKE_displist.h"
|
||||
#include "BKE_scene.h"
|
||||
|
||||
#include "BKE_modifier.h"
|
||||
|
||||
|
@ -58,8 +55,6 @@
|
|||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "RE_shader_ext.h"
|
||||
|
||||
#ifdef OPENNL_THREADING_HACK
|
||||
#include "BLI_threads.h"
|
||||
#endif
|
||||
|
|
|
@ -49,7 +49,6 @@
|
|||
#include "BKE_DerivedMesh.h"
|
||||
|
||||
#include "MOD_modifiertypes.h"
|
||||
#include "MOD_util.h"
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
#include "depsgraph_private.h"
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include "BLI_utildefines.h"
|
||||
|
||||
#include "DNA_color_types.h" /* CurveMapping. */
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_modifier_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
|
@ -43,11 +42,9 @@
|
|||
#include "BKE_cdderivedmesh.h"
|
||||
#include "BKE_colortools.h" /* CurveMapping. */
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_mesh.h"
|
||||
#include "BKE_modifier.h"
|
||||
#include "BKE_texture.h" /* Texture masking. */
|
||||
|
||||
#include "depsgraph_private.h"
|
||||
#include "MEM_guardedalloc.h"
|
||||
#include "MOD_util.h"
|
||||
#include "MOD_weightvg_util.h"
|
||||
|
|
|
@ -34,7 +34,6 @@
|
|||
#include "BLI_rand.h"
|
||||
|
||||
#include "DNA_color_types.h" /* CurveMapping. */
|
||||
#include "DNA_mesh_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
#include "DNA_modifier_types.h"
|
||||
#include "DNA_object_types.h"
|
||||
|
@ -48,7 +47,6 @@
|
|||
|
||||
#include "depsgraph_private.h"
|
||||
#include "MEM_guardedalloc.h"
|
||||
#include "MOD_util.h"
|
||||
#include "MOD_weightvg_util.h"
|
||||
|
||||
/**************************************
|
||||
|
|
|
@ -44,7 +44,6 @@
|
|||
|
||||
#include "depsgraph_private.h"
|
||||
#include "MEM_guardedalloc.h"
|
||||
#include "MOD_util.h"
|
||||
#include "MOD_weightvg_util.h"
|
||||
|
||||
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
|
||||
#include "depsgraph_private.h"
|
||||
#include "MEM_guardedalloc.h"
|
||||
#include "MOD_util.h"
|
||||
#include "MOD_weightvg_util.h"
|
||||
|
||||
// #define USE_TIMEIT
|
||||
|
|
|
@ -23,20 +23,14 @@
|
|||
* \ingroup modifiers
|
||||
*/
|
||||
|
||||
#include "MEM_guardedalloc.h"
|
||||
|
||||
#include "DNA_object_types.h"
|
||||
#include "DNA_meshdata_types.h"
|
||||
|
||||
#include "BLI_math.h"
|
||||
#include "BLI_utildefines.h"
|
||||
#include "BLI_string.h"
|
||||
|
||||
#include "BKE_cdderivedmesh.h"
|
||||
#include "BKE_deform.h"
|
||||
|
||||
#include "MOD_modifiertypes.h"
|
||||
#include "MOD_util.h"
|
||||
|
||||
#include "bmesh.h"
|
||||
#include "tools/bmesh_wireframe.h"
|
||||
|
|
|
@ -36,11 +36,8 @@
|
|||
#include "DNA_scene_types.h"
|
||||
#include "DNA_node_types.h"
|
||||
|
||||
#include "BLI_listbase.h"
|
||||
|
||||
#include "BLF_translation.h"
|
||||
|
||||
#include "BKE_colortools.h"
|
||||
#include "BKE_context.h"
|
||||
#include "BKE_global.h"
|
||||
#include "BKE_main.h"
|
||||
|
@ -50,8 +47,6 @@
|
|||
#include "node_common.h"
|
||||
#include "node_util.h"
|
||||
|
||||
#include "PIL_time.h"
|
||||
|
||||
#include "RNA_access.h"
|
||||
|
||||
#include "NOD_composite.h"
|
||||
|
|
|
@ -35,7 +35,6 @@
|
|||
#include "node_composite_util.h"
|
||||
#include "NOD_common.h"
|
||||
#include "node_common.h"
|
||||
#include "node_exec.h"
|
||||
|
||||
#include "BKE_node.h"
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue