diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:24:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:30:31 +0300 |
commit | b8e8c0e325d213f2dcf4adad5506989fa224716e (patch) | |
tree | adb3d7fa8735426ea856a929f562655b2eaf64cb /source/blender/editors/gpencil/gpencil_fill.c | |
parent | 4226ee0b71fec6f08897dacf3d6632526618acca (diff) |
Cleanup: comment line length (editors)
Prevents clang-format wrapping text before comments.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_fill.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_fill.c | 94 |
1 files changed, 61 insertions, 33 deletions
diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c index aa1a3a6cc76..dceb1b46898 100644 --- a/source/blender/editors/gpencil/gpencil_fill.c +++ b/source/blender/editors/gpencil/gpencil_fill.c @@ -91,39 +91,67 @@ typedef struct tGPDfill { bContext *C; struct Main *bmain; struct Depsgraph *depsgraph; - struct wmWindow *win; /* window where painting originated */ - struct Scene *scene; /* current scene from context */ - struct Object *ob; /* current active gp object */ - struct ScrArea *sa; /* area where painting originated */ - struct RegionView3D *rv3d; /* region where painting originated */ - struct View3D *v3d; /* view3 where painting originated */ - struct ARegion *ar; /* region where painting originated */ - struct bGPdata *gpd; /* current GP datablock */ - struct Material *mat; /* current material */ - struct bGPDlayer *gpl; /* layer */ - struct bGPDframe *gpf; /* frame */ - - short flag; /* flags */ - short oldkey; /* avoid too fast events */ - bool on_back; /* send to back stroke */ - - int center[2]; /* mouse fill center position */ - int sizex; /* windows width */ - int sizey; /* window height */ - int lock_axis; /* lock to viewport axis */ - - short fill_leak; /* number of pixel to consider the leak is too small (x 2) */ - float fill_threshold; /* factor for transparency */ - int fill_simplylvl; /* number of simplify steps */ - int fill_draw_mode; /* boundary limits drawing mode */ - - short sbuffer_size; /* number of elements currently in cache */ - void *sbuffer; /* temporary points */ - float *depth_arr; /* depth array for reproject */ - - Image *ima; /* temp image */ - BLI_Stack *stack; /* temp points data */ - void *draw_handle_3d; /* handle for drawing strokes while operator is running 3d stuff */ + /** window where painting originated */ + struct wmWindow *win; + /** current scene from context */ + struct Scene *scene; + /** current active gp object */ + struct Object *ob; + /** area where painting originated */ + struct ScrArea *sa; + /** region where painting originated */ + struct RegionView3D *rv3d; + /** view3 where painting originated */ + struct View3D *v3d; + /** region where painting originated */ + struct ARegion *ar; + /** current GP datablock */ + struct bGPdata *gpd; + /** current material */ + struct Material *mat; + /** layer */ + struct bGPDlayer *gpl; + /** frame */ + struct bGPDframe *gpf; + + /** flags */ + short flag; + /** avoid too fast events */ + short oldkey; + /** send to back stroke */ + bool on_back; + + /** mouse fill center position */ + int center[2]; + /** windows width */ + int sizex; + /** window height */ + int sizey; + /** lock to viewport axis */ + int lock_axis; + + /** number of pixel to consider the leak is too small (x 2) */ + short fill_leak; + /** factor for transparency */ + float fill_threshold; + /** number of simplify steps */ + int fill_simplylvl; + /** boundary limits drawing mode */ + int fill_draw_mode; + + /** number of elements currently in cache */ + short sbuffer_size; + /** temporary points */ + void *sbuffer; + /** depth array for reproject */ + float *depth_arr; + + /** temp image */ + Image *ima; + /** temp points data */ + BLI_Stack *stack; + /** handle for drawing strokes while operator is running 3d stuff */ + void *draw_handle_3d; } tGPDfill; |