This is more of an animation module change than a mere UI change, so they should review it too.
Explaining "Dimensions" with "Dimensions to modify" doesn't actually add any more information, better use a more descriptive description/tooltip. You might find some tips in the tooltip guidelines.
Assigning to ot->prop
shouldn't be needed here. I see the previous properties do this too (and I don't see a reason for it), but best don't override it again, since that could be an unintentional behavior change.
The 'USE_BRUSHES'
flags are commented out and there's a TODO comment. This is just so this doesn't depend on !125911 and compiles/runs without it. Pretend this wasn't the case for review :)
data_block
tool field, add more specific one
Note that !125449 brings back a version of data_block
, but it's just for the few tools meant for a specific brush type (like the grease pencil eraser or fill tools). I think I'll also change…