[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [43138] branches/soc-2011-onion-uv-tools/ source/blender: Remove unneeded includes from smart stitch

Antony Riakiotakis kalast at gmail.com
Wed Jan 4 19:42:03 CET 2012


Revision: 43138
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=43138
Author:   psy-fi
Date:     2012-01-04 18:42:02 +0000 (Wed, 04 Jan 2012)
Log Message:
-----------
Remove unneeded includes from smart stitch

Modified Paths:
--------------
    branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_ops.c
    branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_smart_stitch.c
    branches/soc-2011-onion-uv-tools/source/blender/gpu/intern/gpu_draw.c

Modified: branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_ops.c
===================================================================
--- branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_ops.c	2012-01-04 18:13:49 UTC (rev 43137)
+++ branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_ops.c	2012-01-04 18:42:02 UTC (rev 43138)
@@ -46,7 +46,6 @@
 #include "BLI_blenlib.h"
 #include "BLI_editVert.h"
 #include "BLI_utildefines.h"
-#include "BLI_ghash.h"
 
 #include "BKE_context.h"
 #include "BKE_customdata.h"
@@ -75,7 +74,6 @@
 #include "WM_types.h"
 
 #include "UI_view2d.h"
-#include "UI_resources.h"
 
 #include "uvedit_intern.h"
 

Modified: branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_smart_stitch.c
===================================================================
--- branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_smart_stitch.c	2012-01-04 18:13:49 UTC (rev 43137)
+++ branches/soc-2011-onion-uv-tools/source/blender/editors/uvedit/uvedit_smart_stitch.c	2012-01-04 18:42:02 UTC (rev 43138)
@@ -37,36 +37,21 @@
 #include "MEM_guardedalloc.h"
 
 #include "DNA_object_types.h"
-#include "DNA_material_types.h"
 #include "DNA_meshdata_types.h"
-#include "DNA_node_types.h"
 #include "DNA_scene_types.h"
 
 #include "BLI_math.h"
-#include "BLI_blenlib.h"
 #include "BLI_editVert.h"
-#include "BLI_utildefines.h"
 #include "BLI_ghash.h"
 
 #include "BKE_context.h"
 #include "BKE_customdata.h"
 #include "BKE_depsgraph.h"
-#include "BKE_image.h"
-#include "BKE_library.h"
-#include "BKE_main.h"
-#include "BKE_material.h"
 #include "BKE_mesh.h"
-#include "BKE_node.h"
-#include "BKE_report.h"
-#include "BKE_scene.h"
 
-#include "ED_image.h"
 #include "ED_mesh.h"
-#include "ED_node.h"
 #include "ED_uvedit.h"
-#include "ED_object.h"
 #include "ED_screen.h"
-#include "ED_transform.h"
 
 #include "RNA_access.h"
 #include "RNA_define.h"
@@ -75,7 +60,6 @@
 #include "WM_types.h"
 
 #include "UI_view2d.h"
-#include "UI_resources.h"
 
 #include "uvedit_intern.h"
 

Modified: branches/soc-2011-onion-uv-tools/source/blender/gpu/intern/gpu_draw.c
===================================================================
--- branches/soc-2011-onion-uv-tools/source/blender/gpu/intern/gpu_draw.c	2012-01-04 18:13:49 UTC (rev 43137)
+++ branches/soc-2011-onion-uv-tools/source/blender/gpu/intern/gpu_draw.c	2012-01-04 18:42:02 UTC (rev 43138)
@@ -521,7 +521,6 @@
 			if(use_high_bit_depth){
 				if(do_color_correction){
 					srgb_frect = MEM_mallocN(ibuf->x*ibuf->y*sizeof(float)*4, "floar_buf_col_cor");
-					//IMB_float_color_corrected_from_float_rect(ibuf, srgb_frect);
 					IMB_buffer_float_from_float(srgb_frect, ibuf->rect_float,
 						ibuf->channels, IB_PROFILE_SRGB, ibuf->profile, 0,
 						ibuf->x, ibuf->y, ibuf->x, ibuf->x);



More information about the Bf-blender-cvs mailing list