adds object as source

This commit is contained in:
Michel Fedde 2024-01-30 17:00:03 +01:00
parent b14c7a19db
commit 9765e28786
4 changed files with 22 additions and 3 deletions

View file

@ -50,4 +50,5 @@ class BakeToIDMapOperator(bpy.types.Operator):
target = get_target(props.target)
target.paint_targets(props, targets, colors)
source.after_painting(context, props)
if 'after_painting' in dir(source):
source.after_painting(context, props)