diff options
author | Bastien Montagne <bastien@blender.org> | 2021-01-05 19:57:57 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2021-01-05 20:21:09 +0300 |
commit | 491a9e9ec496185887caae319a5e11c48e5c12a5 (patch) | |
tree | 744770213dc8459df741ad9c9d85e07e47794fcf /source/blender/editors/sculpt_paint/paint_curve_undo.c | |
parent | 90a26f900c18f12e5d41590fb9ce1ea4933c4989 (diff) |
Cleanup: Undo code: `poll` function.
Remove obviously outdated comment, and explictely set `poll` to `NULL`
in the one case it is not actually defined (sculpt undo).
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_curve_undo.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_curve_undo.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_curve_undo.c b/source/blender/editors/sculpt_paint/paint_curve_undo.c index a3daef19f11..7ce7e73cbf2 100644 --- a/source/blender/editors/sculpt_paint/paint_curve_undo.c +++ b/source/blender/editors/sculpt_paint/paint_curve_undo.c @@ -148,7 +148,6 @@ static void paintcurve_undosys_foreach_ID_ref(UndoStep *us_p, void ED_paintcurve_undosys_type(UndoType *ut) { ut->name = "Paint Curve"; - /* don't poll for now */ ut->poll = paintcurve_undosys_poll; ut->step_encode_init = paintcurve_undosys_step_encode_init; ut->step_encode = paintcurve_undosys_step_encode; |