[Bf-blender-cvs] [29dfe9a6145] blender2.8: Cleanup: style

Campbell Barton noreply at git.blender.org
Tue Nov 6 02:40:42 CET 2018


Commit: 29dfe9a61456dba8c8e4cdae0a90cfa3eef1cd2a
Author: Campbell Barton
Date:   Tue Nov 6 12:39:40 2018 +1100
Branches: blender2.8
https://developer.blender.org/rB29dfe9a61456dba8c8e4cdae0a90cfa3eef1cd2a

Cleanup: style

===================================================================

M	source/blender/blenkernel/intern/gpencil.c
M	source/blender/blenlib/intern/BLI_heap.c

===================================================================

diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c
index 3ab7fa88846..e6d5514a0f1 100644
--- a/source/blender/blenkernel/intern/gpencil.c
+++ b/source/blender/blenkernel/intern/gpencil.c
@@ -404,7 +404,7 @@ bGPDlayer *BKE_gpencil_layer_addnew(bGPdata *gpd, const char *name, bool setacti
 	}
 	else {
 		/* if active layer, add after that layer */
-		BLI_insertlinkafter(&gpd->layers,gpl_active, gpl);
+		BLI_insertlinkafter(&gpd->layers, gpl_active, gpl);
 	}
 
 	/* annotation vs GP Object behaviour is slightly different */
diff --git a/source/blender/blenlib/intern/BLI_heap.c b/source/blender/blenlib/intern/BLI_heap.c
index cef3eb2dafb..4d662f067ba 100644
--- a/source/blender/blenlib/intern/BLI_heap.c
+++ b/source/blender/blenlib/intern/BLI_heap.c
@@ -461,7 +461,7 @@ static void fastheap_down(FastHeap *heap, uint start_i, const FastHeapNode *init
 #if 1
 	/* The compiler isn't smart enough to realize that all computations
 	 * using index here can be modified to work with byte offset. */
-	uint8_t *const tree_buf = (uint8_t*)heap->tree;
+	uint8_t * const tree_buf = (uint8_t *)heap->tree;
 
 #define OFFSET(i) (i * (uint)sizeof(FastHeapNode))
 #define NODE(offset) (*(FastHeapNode*)(tree_buf + (offset)))



More information about the Bf-blender-cvs mailing list