diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-07 19:19:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-07 19:19:26 +0400 |
commit | 9b5652215abb91e5aa3ce40664fc0067567382b0 (patch) | |
tree | e628ae42da56d9156dc048a21ba396b1f32785b3 /source/blender/editors/gpencil | |
parent | 50ef1b14e47d74bfa4ac4bf77c61deaaefb33137 (diff) |
minor warning nicer api use
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index b89b0cda451..bd02df2ddba 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -1772,8 +1772,6 @@ static tGPsdata *gpencil_stroke_begin(bContext *C, wmOperator *op) if (gp_session_initdata(C, p)) gp_paint_initstroke(p, p->paintmode); - p= op->customdata; - if(p->status != GP_STATUS_ERROR) p->status= GP_STATUS_PAINTING; |