diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-22 12:43:29 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-22 12:43:29 +0300 |
commit | 42def9a351a2c2696912288d9f1aed8b658f097c (patch) | |
tree | a7b41a8e8bd918e558695a74f311d722814b8ae3 /source/blender/nodes/intern | |
parent | 6d31872298e2f6fd23d06a4ccb792647879163ca (diff) |
2.5
Cleanup
- for portablity we can keep the old ugly defines for retrieving
active object, cfra and so on. But, they will use 'scene' not
G.scene.
- fixed code that uses those defines.
- some unused variables/functions removed
Diffstat (limited to 'source/blender/nodes/intern')
-rw-r--r-- | source/blender/nodes/intern/TEX_nodes/TEX_distance.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/nodes/intern/TEX_nodes/TEX_distance.c b/source/blender/nodes/intern/TEX_nodes/TEX_distance.c index ff9ec4db76b..d23eb6bc589 100644 --- a/source/blender/nodes/intern/TEX_nodes/TEX_distance.c +++ b/source/blender/nodes/intern/TEX_nodes/TEX_distance.c @@ -44,7 +44,6 @@ static bNodeSocketType outputs[]= { static void valuefn(float *out, float *coord, bNode *node, bNodeStack **in, short thread) { float coord1[3], coord2[3]; - float x, y, z; tex_input_vec(coord1, in[0], coord, thread); tex_input_vec(coord2, in[1], coord, thread); |