Cleanup: indentation, long lines
[blender.git] / source / blender / editors / physics / dynamicpaint_ops.c
index 3d7a45843cc79b67038d7899aad5861523f74bf3..edc3f6c784c8ca95da41ca2b3e199f101c50a8c1 100644 (file)
@@ -279,10 +279,10 @@ void DPAINT_OT_output_toggle(wmOperatorType *ot)
 /***************************** Image Sequence Baking ******************************/
 
 typedef struct DynamicPaintBakeJob {
-    /* from wmJob */
-    void *owner;
-    short *stop, *do_update;
-    float *progress;
+       /* from wmJob */
+       void *owner;
+       short *stop, *do_update;
+       float *progress;
 
        struct Main *bmain;
        Scene *scene;
@@ -297,13 +297,13 @@ typedef struct DynamicPaintBakeJob {
 
 static void dpaint_bake_free(void *customdata)
 {
-    DynamicPaintBakeJob *job = customdata;
-    MEM_freeN(job);
+       DynamicPaintBakeJob *job = customdata;
+       MEM_freeN(job);
 }
 
 static void dpaint_bake_endjob(void *customdata)
 {
-    DynamicPaintBakeJob *job = customdata;
+       DynamicPaintBakeJob *job = customdata;
        DynamicPaintCanvasSettings *canvas = job->canvas;
 
        canvas->flags &= ~MOD_DPAINT_BAKING;
@@ -311,7 +311,7 @@ static void dpaint_bake_endjob(void *customdata)
        dynamicPaint_freeSurfaceData(job->surface);
 
        G.is_rendering = false;
-    BKE_spacedata_draw_locks(false);
+       BKE_spacedata_draw_locks(false);
 
        WM_set_locked_interface(G.main->wm.first, false);
 
@@ -421,26 +421,26 @@ static void dynamicPaint_bakeImageSequence(DynamicPaintBakeJob *job)
 
 static void dpaint_bake_startjob(void *customdata, short *stop, short *do_update, float *progress)
 {
-    DynamicPaintBakeJob *job = customdata;
+       DynamicPaintBakeJob *job = customdata;
 
-    job->stop = stop;
-    job->do_update = do_update;
-    job->progress = progress;
+       job->stop = stop;
+       job->do_update = do_update;
+       job->progress = progress;
        job->start = PIL_check_seconds_timer();
        job->success = 1;
 
-    G.is_break = false; /* reset BKE_blender_test_break*/
+       G.is_break = false; /* reset BKE_blender_test_break*/
 
        /* XXX annoying hack: needed to prevent data corruption when changing
         * scene frame in separate threads
-     */
-    G.is_rendering = true;
-    BKE_spacedata_draw_locks(true);
+        */
+       G.is_rendering = true;
+       BKE_spacedata_draw_locks(true);
 
        dynamicPaint_bakeImageSequence(job);
 
-    *do_update = true;
-    *stop = 0;
+       *do_update = true;
+       *stop = 0;
 }
 
 /*