For Dynamic Paint, I can’t seem to figure out how to layout paint distance for the brush settings in the toolbar as its own panel.
Any python wizards that can do this? Thanks.
For Dynamic Paint, I can’t seem to figure out how to layout paint distance for the brush settings in the toolbar as its own panel.
Any python wizards that can do this? Thanks.
ob = context.object
if ob is not None:
for mod in ob.modifiers:
if mod.type == 'DYNAMIC_PAINT' and mod.ui_type == 'BRUSH':
brush = mod.brush_settings
split = layout.split()
col = split.column()
col.prop(brush, "paint_distance")