[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [58340] trunk/blender/source/blender: style cleanup

Campbell Barton ideasman42 at gmail.com
Wed Jul 17 16:14:50 CEST 2013


Revision: 58340
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=58340
Author:   campbellbarton
Date:     2013-07-17 14:14:50 +0000 (Wed, 17 Jul 2013)
Log Message:
-----------
style cleanup

Modified Paths:
--------------
    trunk/blender/source/blender/compositor/intern/COM_WorkScheduler.cpp
    trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.c

Modified: trunk/blender/source/blender/compositor/intern/COM_WorkScheduler.cpp
===================================================================
--- trunk/blender/source/blender/compositor/intern/COM_WorkScheduler.cpp	2013-07-17 14:05:50 UTC (rev 58339)
+++ trunk/blender/source/blender/compositor/intern/COM_WorkScheduler.cpp	2013-07-17 14:14:50 UTC (rev 58340)
@@ -304,7 +304,7 @@
 		g_context = NULL;
 		g_program = NULL;
 
-		if(!OCL_init()) /* this will check for errors and skip if already initialized */
+		if (!OCL_init()) /* this will check for errors and skip if already initialized */
 			return;
 
 		if (clCreateContextFromType) {

Modified: trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.c
===================================================================
--- trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.c	2013-07-17 14:05:50 UTC (rev 58339)
+++ trunk/blender/source/blender/imbuf/intern/cineon/logImageCore.c	2013-07-17 14:14:50 UTC (rev 58340)
@@ -925,7 +925,7 @@
 	unsigned int lutsize = (unsigned int)(logElement.maxValue + 1);
 	unsigned int i;
 	
-	lut = MEM_mallocN(sizeof(float)*lutsize, "getLinToLogLut");
+	lut = MEM_mallocN(sizeof(float) * lutsize, "getLinToLogLut");
 
 	negativeFilmGamma = 0.6;
 	step = logElement.refHighQuantity / logElement.maxValue;
@@ -946,7 +946,7 @@
 	unsigned int lutsize = (unsigned int)(logElement.maxValue + 1);
 	unsigned int i;
 	
-	lut = MEM_mallocN(sizeof(float)*lutsize, "getLogToLinLut");
+	lut = MEM_mallocN(sizeof(float) * lutsize, "getLogToLinLut");
 
 	/* Building the Log -> Lin LUT */
 	step = logElement.refHighQuantity / logElement.maxValue;
@@ -980,7 +980,7 @@
 	unsigned int lutsize = (unsigned int)(logElement.maxValue + 1);
 	unsigned int i;
 
-	lut = MEM_mallocN(sizeof(float)*lutsize, "getLogToLinLut");
+	lut = MEM_mallocN(sizeof(float) * lutsize, "getLogToLinLut");
 
 	for (i = 0; i < lutsize; i++) {
 		col = (float)i / logElement.maxValue;
@@ -999,7 +999,7 @@
 	unsigned int lutsize = (unsigned int)(logElement.maxValue + 1);
 	unsigned int i;
 
-	lut = MEM_mallocN(sizeof(float)*lutsize, "getLogToLinLut");
+	lut = MEM_mallocN(sizeof(float) * lutsize, "getLogToLinLut");
 
 	for (i = 0; i < lutsize; i++) {
 		col = (float)i / logElement.maxValue;




More information about the Bf-blender-cvs mailing list