diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-07-18 12:02:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-07-18 12:03:22 +0300 |
commit | ecb3e0fe737c24e62add99f3fa39e305f5d66af2 (patch) | |
tree | 214dfdeca51bf158a6285b9630bc4f433131e5e0 /source/blender/blenloader/intern/writefile.c | |
parent | 2199a3e38b1cf5956bd65e1d4ba38a3c50a4bed0 (diff) |
Cleanup: whitespace & break placement
Diffstat (limited to 'source/blender/blenloader/intern/writefile.c')
-rw-r--r-- | source/blender/blenloader/intern/writefile.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/source/blender/blenloader/intern/writefile.c b/source/blender/blenloader/intern/writefile.c index 25d3f4f0dfb..e03db11e71b 100644 --- a/source/blender/blenloader/intern/writefile.c +++ b/source/blender/blenloader/intern/writefile.c @@ -613,8 +613,9 @@ static void write_fmodifiers(WriteData *wd, ListBase *fmodifiers) /* write coefficients array */ if (data->coefficients) writedata(wd, DATA, sizeof(float)*(data->arraysize), data->coefficients); - } + break; + } case FMODIFIER_TYPE_ENVELOPE: { FMod_Envelope *data= (FMod_Envelope *)fcm->data; @@ -622,8 +623,9 @@ static void write_fmodifiers(WriteData *wd, ListBase *fmodifiers) /* write envelope data */ if (data->data) writestruct(wd, DATA, "FCM_EnvelopeData", data->totvert, data->data); - } + break; + } case FMODIFIER_TYPE_PYTHON: { FMod_Python *data = (FMod_Python *)fcm->data; @@ -631,8 +633,9 @@ static void write_fmodifiers(WriteData *wd, ListBase *fmodifiers) /* Write ID Properties -- and copy this comment EXACTLY for easy finding * of library blocks that implement this.*/ IDP_WriteProperty(data->prop, wd); - } + break; + } } } } @@ -1425,16 +1428,18 @@ static void write_constraints(WriteData *wd, ListBase *conlist) /* Write ID Properties -- and copy this comment EXACTLY for easy finding * of library blocks that implement this.*/ IDP_WriteProperty(data->prop, wd); - } + break; + } case CONSTRAINT_TYPE_SPLINEIK: { bSplineIKConstraint *data = (bSplineIKConstraint *)con->data; /* write points array */ writedata(wd, DATA, sizeof(float)*(data->numpoints), data->points); - } + break; + } } } |