Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-11-06 20:23:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-11-06 20:23:28 +0400
commit3d1e45c414f81a690ad33e1ee4feacbf313c45b0 (patch)
tree8aaf9507e46a31d035089880eee76b3affc9a158 /source/blender/nodes/texture/nodes/node_texture_bricks.c
parentb05ee8b65f453d97edb4dbe59fac5c996fbf78d2 (diff)
replace macros with bli math functions for nodes
Diffstat (limited to 'source/blender/nodes/texture/nodes/node_texture_bricks.c')
-rw-r--r--source/blender/nodes/texture/nodes/node_texture_bricks.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/nodes/texture/nodes/node_texture_bricks.c b/source/blender/nodes/texture/nodes/node_texture_bricks.c
index 2011426b845..0700085a787 100644
--- a/source/blender/nodes/texture/nodes/node_texture_bricks.c
+++ b/source/blender/nodes/texture/nodes/node_texture_bricks.c
@@ -107,9 +107,9 @@ static void colorfn(float *out, TexParams *p, bNode *node, bNodeStack **in, shor
if( ins_x < mortar_thickness || ins_y < mortar_thickness ||
ins_x > (brick_width - mortar_thickness) ||
ins_y > (row_height - mortar_thickness) ) {
- QUATCOPY( out, mortar );
+ copy_v4_v4( out, mortar );
} else {
- QUATCOPY( out, bricks1 );
+ copy_v4_v4( out, bricks1 );
ramp_blend( MA_RAMP_BLEND, out, out+1, out+2, tint, bricks2 );
}
}