style cleanup: follow style guide for formatting of if/for/while loops, and else...
[blender.git] / source / blender / editors / transform / transform_ops.c
index ac6243e74edc0da6b8cf969f506bbbc71e8150d0..7c3bcb857eba4fcc97365a9f36ca930aee9f6ac3 100644 (file)
@@ -245,7 +245,7 @@ static int delete_orientation_poll(bContext *C)
                return 0;
        
        
-       if(v3d) {
+       if (v3d) {
                selected_index = (v3d->twmode - V3D_MANIP_CUSTOM);
        }
        
@@ -341,7 +341,7 @@ static int transformops_data(bContext *C, wmOperator *op, wmEvent *event)
                G.moving = 1;
 
                /* store data */
-               if(retval) {
+               if (retval) {
                        op->customdata = t;
                }
                else {
@@ -429,7 +429,7 @@ static int transform_invoke(bContext *C, wmOperator *op, wmEvent *event)
                return OPERATOR_CANCELLED;
        }
 
-       if(RNA_struct_property_is_set(op->ptr, "value")) {
+       if (RNA_struct_property_is_set(op->ptr, "value")) {
                return transform_exec(C, op);
        }
        else {