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>2013-04-08 08:39:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-08 08:39:09 +0400
commitfcf137dbd7f31a22657a9fb5c460ee599bff4853 (patch)
treebeb4ba3e6548561ca7aad67e19acc5a0e75c3413 /source/blender/blenloader
parent45669ebbc6fab86e1576378b75298116009a2318 (diff)
style cleanup
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r--source/blender/blenloader/intern/readfile.c8
-rw-r--r--source/blender/blenloader/intern/writefile.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 40e73892308..bd2fbfe7eda 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -6764,7 +6764,7 @@ static void lib_link_linestyle(FileData *fd, Main *main)
break;
}
}
- for (m = linestyle->alpha_modifiers.first; m; m = m->next){
+ for (m = linestyle->alpha_modifiers.first; m; m = m->next) {
switch (m->type) {
case LS_MODIFIER_DISTANCE_FROM_OBJECT:
{
@@ -6774,7 +6774,7 @@ static void lib_link_linestyle(FileData *fd, Main *main)
break;
}
}
- for (m = linestyle->thickness_modifiers.first; m; m = m->next){
+ for (m = linestyle->thickness_modifiers.first; m; m = m->next) {
switch (m->type) {
case LS_MODIFIER_DISTANCE_FROM_OBJECT:
{
@@ -10461,11 +10461,11 @@ static void expand_linestyle(FileData *fd, Main *mainvar, FreestyleLineStyle *li
if (m->type == LS_MODIFIER_DISTANCE_FROM_OBJECT)
expand_doit(fd, mainvar, ((LineStyleColorModifier_DistanceFromObject *)m)->target);
}
- for (m = linestyle->alpha_modifiers.first; m; m = m->next){
+ for (m = linestyle->alpha_modifiers.first; m; m = m->next) {
if (m->type == LS_MODIFIER_DISTANCE_FROM_OBJECT)
expand_doit(fd, mainvar, ((LineStyleAlphaModifier_DistanceFromObject *)m)->target);
}
- for (m = linestyle->thickness_modifiers.first; m; m = m->next){
+ for (m = linestyle->thickness_modifiers.first; m; m = m->next) {
if (m->type == LS_MODIFIER_DISTANCE_FROM_OBJECT)
expand_doit(fd, mainvar, ((LineStyleThicknessModifier_DistanceFromObject *)m)->target);
}
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c
index f01b2bcc5a7..b91518174d7 100644
--- a/source/blender/blenloader/intern/writefile.c
+++ b/source/blender/blenloader/intern/writefile.c
@@ -2326,10 +2326,10 @@ static void write_scenes(WriteData *wd, ListBase *scebase)
for (srl = sce->r.layers.first; srl; srl = srl->next) {
writestruct(wd, DATA, "SceneRenderLayer", 1, srl);
- for(fmc = srl->freestyleConfig.modules.first; fmc; fmc = fmc->next) {
+ for (fmc = srl->freestyleConfig.modules.first; fmc; fmc = fmc->next) {
writestruct(wd, DATA, "FreestyleModuleConfig", 1, fmc);
}
- for(fls = srl->freestyleConfig.linesets.first; fls; fls = fls->next) {
+ for (fls = srl->freestyleConfig.linesets.first; fls; fls = fls->next) {
writestruct(wd, DATA, "FreestyleLineSet", 1, fls);
}
}