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>2012-09-30 10:12:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-30 10:12:47 +0400
commited1cda9a6c48360ed3b69994aa1f8d2557253b92 (patch)
tree4a98a1ffee78c3a5d4bb7fcf502fd7e4fbb05fc9 /source/blender/render
parent8020b3317c904ace654d91654c46e9b9099ada1d (diff)
style cleanup
Diffstat (limited to 'source/blender/render')
-rw-r--r--source/blender/render/intern/source/convertblender.c2
-rw-r--r--source/blender/render/intern/source/sunsky.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/source/convertblender.c b/source/blender/render/intern/source/convertblender.c
index 874999a8aae..78b4c3b8787 100644
--- a/source/blender/render/intern/source/convertblender.c
+++ b/source/blender/render/intern/source/convertblender.c
@@ -3930,7 +3930,7 @@ static void add_lightgroup(Render *re, Group *group, int exclusive)
for (go= group->gobject.first; go; go= go->next) {
go->lampren= NULL;
- if(go->ob->restrictflag & OB_RESTRICT_RENDER)
+ if (go->ob->restrictflag & OB_RESTRICT_RENDER)
continue;
if (go->ob->lay & re->lay) {
diff --git a/source/blender/render/intern/source/sunsky.c b/source/blender/render/intern/source/sunsky.c
index 6a1517e19fb..94e94b98d26 100644
--- a/source/blender/render/intern/source/sunsky.c
+++ b/source/blender/render/intern/source/sunsky.c
@@ -275,7 +275,7 @@ void GetSkyXYZRadiance(struct SunSky *sunsky, float theta, float phi, float colo
/* Compute xyY values */
x = PerezFunction(sunsky, sunsky->perez_x, theta, gamma, sunsky->zenith_x);
y = PerezFunction(sunsky, sunsky->perez_y, theta, gamma, sunsky->zenith_y);
- Y = 6.666666667e-5f *nfade *hfade *PerezFunction(sunsky, sunsky->perez_Y, theta, gamma, sunsky->zenith_Y);
+ Y = 6.666666667e-5f * nfade * hfade * PerezFunction(sunsky, sunsky->perez_Y, theta, gamma, sunsky->zenith_Y);
if (sunsky->sky_exposure != 0.0f)
Y = 1.0 - exp(Y * sunsky->sky_exposure);