[Bf-blender-cvs] [78cae5b] master: Cleanup: remove redundant includes
Campbell Barton
noreply at git.blender.org
Fri Jul 10 18:54:29 CEST 2015
Commit: 78cae5bad9cc674d629a203daadade62d0d0625b
Author: Campbell Barton
Date: Sat Jul 11 02:49:04 2015 +1000
Branches: master
https://developer.blender.org/rB78cae5bad9cc674d629a203daadade62d0d0625b
Cleanup: remove redundant includes
===================================================================
M source/blender/blenkernel/intern/image.c
M source/blender/compositor/operations/COM_OutputFileMultiViewOperation.h
M source/blender/editors/include/UI_interface.h
M source/blender/makesrna/intern/rna_image_api.c
===================================================================
diff --git a/source/blender/blenkernel/intern/image.c b/source/blender/blenkernel/intern/image.c
index 482db9d..9921c50 100644
--- a/source/blender/blenkernel/intern/image.c
+++ b/source/blender/blenkernel/intern/image.c
@@ -56,7 +56,6 @@
#include "DNA_object_types.h"
#include "DNA_camera_types.h"
#include "DNA_sequence_types.h"
-#include "DNA_userdef_types.h"
#include "DNA_brush_types.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
diff --git a/source/blender/compositor/operations/COM_OutputFileMultiViewOperation.h b/source/blender/compositor/operations/COM_OutputFileMultiViewOperation.h
index 0e3cde6..25ed881 100644
--- a/source/blender/compositor/operations/COM_OutputFileMultiViewOperation.h
+++ b/source/blender/compositor/operations/COM_OutputFileMultiViewOperation.h
@@ -30,7 +30,6 @@
#include "BLI_path_util.h"
#include "DNA_color_types.h"
-#include "DNA_userdef_types.h"
#include "intern/openexr/openexr_multi.h"
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index bb6c9a1..a251aa0 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -35,7 +35,6 @@
#include "BLI_compiler_attrs.h"
#include "BLI_sys_types.h" /* size_t */
#include "RNA_types.h"
-#include "DNA_userdef_types.h"
/* Struct Declarations */
@@ -908,7 +907,7 @@ void uiTemplateImageStereo3d(uiLayout *layout, struct PointerRNA *stereo3d_forma
void uiTemplateImageViews(uiLayout *layout, struct PointerRNA *imaptr);
void uiTemplateImageFormatViews(uiLayout *layout, PointerRNA *imfptr, PointerRNA *ptr);
void uiTemplateImageLayers(uiLayout *layout, struct bContext *C, struct Image *ima, struct ImageUser *iuser);
-void uiTemplateImageInfo(uiLayout *layout, struct bContext *C, Image *ima, ImageUser *iuser);
+void uiTemplateImageInfo(uiLayout *layout, struct bContext *C, struct Image *ima, struct ImageUser *iuser);
void uiTemplateRunningJobs(uiLayout *layout, struct bContext *C);
void UI_but_func_operator_search(uiBut *but);
void uiTemplateOperatorSearch(uiLayout *layout);
@@ -1004,7 +1003,7 @@ void UI_fontstyle_draw(const struct uiFontStyle *fs, const struct rcti *rect, co
void UI_fontstyle_draw_rotated(const struct uiFontStyle *fs, const struct rcti *rect, const char *str);
void UI_fontstyle_draw_simple(const struct uiFontStyle *fs, float x, float y, const char *str);
void UI_fontstyle_draw_simple_backdrop(
- const uiFontStyle *fs, float x, float y, const char *str,
+ const struct uiFontStyle *fs, float x, float y, const char *str,
const unsigned char fg[4], const unsigned char bg[4]);
int UI_fontstyle_string_width(const struct uiFontStyle *fs, const char *str);
@@ -1012,8 +1011,8 @@ int UI_fontstyle_height_max(const struct uiFontStyle *fs);
void UI_draw_icon_tri(float x, float y, char dir);
-uiStyle *UI_style_get(void); /* use for fonts etc */
-uiStyle *UI_style_get_dpi(void); /* DPI scaled settings for drawing */
+struct uiStyle *UI_style_get(void); /* use for fonts etc */
+struct uiStyle *UI_style_get_dpi(void); /* DPI scaled settings for drawing */
/* linker workaround ack! */
void UI_template_fix_linking(void);
diff --git a/source/blender/makesrna/intern/rna_image_api.c b/source/blender/makesrna/intern/rna_image_api.c
index c3c152a..f187a0e 100644
--- a/source/blender/makesrna/intern/rna_image_api.c
+++ b/source/blender/makesrna/intern/rna_image_api.c
@@ -35,7 +35,6 @@
#include <time.h>
#include "DNA_packedFile_types.h"
-#include "DNA_userdef_types.h"
#include "BLI_utildefines.h"
#include "BLI_path_util.h"
More information about the Bf-blender-cvs
mailing list