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-02-23 06:23:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-23 06:23:42 +0400
commitc8b53d2aaf7ee4d07736cf842ca385e0311f3c53 (patch)
tree2feabb1078d838a001be6a32dcf7e9f00bebf70f /source/blender/editors/metaball/mball_edit.c
parent53fece44cf08e730bba8b8581f8bd02361f37930 (diff)
code style cleanup, no functional changes.
Diffstat (limited to 'source/blender/editors/metaball/mball_edit.c')
-rw-r--r--source/blender/editors/metaball/mball_edit.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/metaball/mball_edit.c b/source/blender/editors/metaball/mball_edit.c
index da8009ecc22..e9c1bd4047e 100644
--- a/source/blender/editors/metaball/mball_edit.c
+++ b/source/blender/editors/metaball/mball_edit.c
@@ -345,7 +345,7 @@ static int hide_metaelems_exec(bContext *C, wmOperator *op)
ml= mb->editelems->first;
if(ml) {
- while(ml){
+ while(ml) {
if((ml->flag & SELECT) != invert)
ml->flag |= MB_HIDE;
ml= ml->next;
@@ -449,11 +449,11 @@ int mouse_mball(bContext *C, const int mval[2], int extend)
while(ml) {
for(a=0; a<hits; a++) {
/* index converted for gl stuff */
- if(ml->selcol1==buffer[ 4 * a + 3 ]){
+ if(ml->selcol1==buffer[ 4 * a + 3 ]) {
ml->flag |= MB_SCALE_RAD;
act= ml;
}
- if(ml->selcol2==buffer[ 4 * a + 3 ]){
+ if(ml->selcol2==buffer[ 4 * a + 3 ]) {
ml->flag &= ~MB_SCALE_RAD;
act= ml;
}
@@ -505,7 +505,7 @@ static void freeMetaElemlist(ListBase *lb)
if(lb==NULL) return;
ml= lb->first;
- while(ml){
+ while(ml) {
next= ml->next;
BLI_remlink(lb, ml);
MEM_freeN(ml);
@@ -526,7 +526,7 @@ static void undoMball_to_editMball(void *lbu, void *lbe, void *UNUSED(obe))
/* copy 'undo' MetaElems to 'edit' MetaElems */
ml= lb->first;
- while(ml){
+ while(ml) {
newml= MEM_dupallocN(ml);
BLI_addtail(editelems, newml);
ml= ml->next;
@@ -546,7 +546,7 @@ static void *editMball_to_undoMball(void *lbe, void *UNUSED(obe))
/* copy contents of current ListBase to the undo ListBase */
ml= editelems->first;
- while(ml){
+ while(ml) {
newml= MEM_dupallocN(ml);
BLI_addtail(lb, newml);
ml= ml->next;