diff options
author | Antonioya <blendergit@gmail.com> | 2018-08-30 12:06:44 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-08-30 12:11:47 +0300 |
commit | 0845b1c8c8da818607fcff0a1bdb2114a0cb9729 (patch) | |
tree | 42bcb0ce5d58457985edb14723ce874c9d226f18 /source/blender/editors/gpencil/gpencil_data.c | |
parent | 3071d67c3aeba4e5bec73f88b24eed972424dae0 (diff) |
GP: Improve Subdivide and Simplify
Now the weights are managed in the operators.
The subdivide operator and modifier code have been replaced with a shared function.
Some cleanup also.
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_data.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_data.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c index 3321bec3846..818a694a899 100644 --- a/source/blender/editors/gpencil/gpencil_data.c +++ b/source/blender/editors/gpencil/gpencil_data.c @@ -725,9 +725,6 @@ static int gp_frame_clean_loose_exec(bContext *C, wmOperator *op) if (gpf == NULL) continue; - if (gpf == NULL) - continue; - /* simply delete strokes which are no loose */ for (gps = gpf->strokes.first; gps; gps = gpsn) { gpsn = gps->next; |