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>2018-11-20 00:53:00 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-20 00:53:00 +0300
commitf0b5a9da017a00c094cb7ab8bd0aa289c921a117 (patch)
tree8e8906352a5ec6da55073a75de067448158c08c1 /source/blender/blenkernel/intern/studiolight.c
parent8617594515e685303da51282ae50ccf0ebd030ef (diff)
Cleanup: style, unused
Diffstat (limited to 'source/blender/blenkernel/intern/studiolight.c')
-rw-r--r--source/blender/blenkernel/intern/studiolight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/studiolight.c b/source/blender/blenkernel/intern/studiolight.c
index 736a06a3148..ce7372dc0b9 100644
--- a/source/blender/blenkernel/intern/studiolight.c
+++ b/source/blender/blenkernel/intern/studiolight.c
@@ -200,7 +200,7 @@ static void equirect_to_direction(float r[3], float u, float v)
r[2] = cosf(theta);
}
-static void direction_to_cube_face_uv(float r_uv[2], int *r_face, const float dir[3])
+static void UNUSED_FUNCTION(direction_to_cube_face_uv)(float r_uv[2], int *r_face, const float dir[3])
{
if (fabsf(dir[0]) > fabsf(dir[1]) && fabsf(dir[0]) > fabsf(dir[2])) {
bool is_pos = (dir[0] > 0.0f);