[Bf-blender-cvs] [119230b] master: Cleanup: header, style
Campbell Barton
noreply at git.blender.org
Mon May 9 18:57:50 CEST 2016
Commit: 119230b565f10aeb13e7ee67ef5d75ec55015083
Author: Campbell Barton
Date: Tue May 10 03:00:37 2016 +1000
Branches: master
https://developer.blender.org/rB119230b565f10aeb13e7ee67ef5d75ec55015083
Cleanup: header, style
===================================================================
M intern/atomic/intern/atomic_ops_unix.h
M source/blender/blenkernel/intern/dynamicpaint.c
M source/blender/depsgraph/intern/depsgraph_eval.cc
===================================================================
diff --git a/intern/atomic/intern/atomic_ops_unix.h b/intern/atomic/intern/atomic_ops_unix.h
index 0a0b988..05d0fbf 100644
--- a/intern/atomic/intern/atomic_ops_unix.h
+++ b/intern/atomic/intern/atomic_ops_unix.h
@@ -49,8 +49,8 @@
* ***** END GPL LICENSE BLOCK *****
*/
-#ifndef __ATOMIC_OPS_GCC_H__
-#define __ATOMIC_OPS_GCC_H__
+#ifndef __ATOMIC_OPS_UNIX_H__
+#define __ATOMIC_OPS_UNIX_H__
#include "atomic_ops_utils.h"
@@ -177,4 +177,4 @@ ATOMIC_INLINE uint8_t atomic_fetch_and_or_uint8(uint8_t *p, uint8_t b)
# error "Missing implementation for 8-bit atomic operations"
#endif
-#endif /* __ATOMIC_OPS_GCC_H__ */
+#endif /* __ATOMIC_OPS_UNIX_H__ */
diff --git a/source/blender/blenkernel/intern/dynamicpaint.c b/source/blender/blenkernel/intern/dynamicpaint.c
index 0da2bb0..ab5d1b4 100644
--- a/source/blender/blenkernel/intern/dynamicpaint.c
+++ b/source/blender/blenkernel/intern/dynamicpaint.c
@@ -3467,9 +3467,9 @@ static int dynamicPaint_paintMesh(DynamicPaintSurface *surface,
/* Get material+textures color on hit point if required */
if (brush_usesMaterial(brush, scene)) {
- dynamicPaint_doMaterialTex(bMats, sampleColor, &alpha_factor, brushOb,
- bData->realCoord[bData->s_pos[index] + ss].v,
- hitCoord, hitTri, dm);
+ dynamicPaint_doMaterialTex(bMats, sampleColor, &alpha_factor, brushOb,
+ bData->realCoord[bData->s_pos[index] + ss].v,
+ hitCoord, hitTri, dm);
}
/* Sample proximity colorband if required */
diff --git a/source/blender/depsgraph/intern/depsgraph_eval.cc b/source/blender/depsgraph/intern/depsgraph_eval.cc
index febea7d..adacbb6 100644
--- a/source/blender/depsgraph/intern/depsgraph_eval.cc
+++ b/source/blender/depsgraph/intern/depsgraph_eval.cc
@@ -248,7 +248,7 @@ static void schedule_node(TaskPool *pool, Depsgraph *graph, int layers,
}
if (node->num_links_pending == 0) {
- bool is_scheduled = atomic_fetch_and_or_uint8((uint8_t*)&node->scheduled, (uint8_t)true);
+ bool is_scheduled = atomic_fetch_and_or_uint8((uint8_t *)&node->scheduled, (uint8_t)true);
if (!is_scheduled) {
if (node->is_noop()) {
/* skip NOOP node, schedule children right away */
More information about the Bf-blender-cvs
mailing list