diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-03 20:31:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-03 20:31:46 +0400 |
commit | a2c182e9233333fc3b8ff40d352113ec95e7e30c (patch) | |
tree | 37a9e08f4e6c4bf794aa0c8c15af875299db4a1b /source/blender/editors/physics | |
parent | 86cec98f9e1523ed41b67ef998174289dbae9b83 (diff) |
style cleanup - use aligned * prefixed blocks for descriptive comments (was already used a lot and part of proposed style guide).
Diffstat (limited to 'source/blender/editors/physics')
-rw-r--r-- | source/blender/editors/physics/dynamicpaint_ops.c | 16 | ||||
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/physics/dynamicpaint_ops.c b/source/blender/editors/physics/dynamicpaint_ops.c index 7f568833866..4e9145a6ff3 100644 --- a/source/blender/editors/physics/dynamicpaint_ops.c +++ b/source/blender/editors/physics/dynamicpaint_ops.c @@ -268,9 +268,9 @@ void DPAINT_OT_output_toggle(wmOperatorType *ot) /***************************** Image Sequence Baking ******************************/ /* -* Do actual bake operation. Loop through to-be-baked frames. -* Returns 0 on failture. -*/ + * Do actual bake operation. Loop through to-be-baked frames. + * Returns 0 on failture. + */ static int dynamicPaint_bakeImageSequence(bContext *C, DynamicPaintSurface *surface, Object *cObject) { DynamicPaintCanvasSettings *canvas = surface->canvas; @@ -308,8 +308,8 @@ static int dynamicPaint_bakeImageSequence(bContext *C, DynamicPaintSurface *surf if (!dynamicPaint_calculateFrame(surface, scene, cObject, frame)) return 0; /* - * Save output images - */ + * Save output images + */ { char filename[FILE_MAX]; @@ -351,8 +351,8 @@ static int dynamicPaint_initBake(struct bContext *C, struct wmOperator *op) DynamicPaintSurface *surface; /* - * Get modifier data - */ + * Get modifier data + */ pmd = (DynamicPaintModifierData *)modifiers_findByType(ob, eModifierType_DynamicPaint); if (!pmd) { BKE_report(op->reports, RPT_ERROR, "Bake Failed: No Dynamic Paint modifier found."); @@ -380,7 +380,7 @@ static int dynamicPaint_initBake(struct bContext *C, struct wmOperator *op) dynamicPaint_freeSurfaceData(surface); /* Bake was successful: - * Report for ended bake and how long it took */ + * Report for ended bake and how long it took */ if (status) { /* Format time string */ char time_str[30]; diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index 2a7f9b2a626..8201b27a4ed 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -1218,7 +1218,7 @@ static void update_velocities(PTCacheEdit *edit) void PE_update_object(Scene *scene, Object *ob, int useflag) { /* use this to do partial particle updates, not usable when adding or - removing, then a full redo is necessary and calling this may crash */ + * removing, then a full redo is necessary and calling this may crash */ ParticleEditSettings *pset= PE_settings(scene); PTCacheEdit *edit = PE_get_current(scene, ob); POINT_P; |