Blender Git Commit Log

Git Commits -> Revision 42546db

Revision 42546db by Hans Goudey (master)
September 1, 2021, 16:47 (GMT)
Fix T91054: Editing group custom property gives error

This commit fixes the custom property edit operator for the the case of
editing group properties. Currently this isn't supported very well, the
data is converted to a string, but the operator shouldn't fail anyway.

This allows editing properties created like this:
C.object['abuse'] = {'parent' : ['child1', 'child2']}

These changes reflect some issues with the design of the operator.
Requiring guessing the type of the data does not work well at all, and
makes code more complicated. In the future this operator can be updated
to use a type drop-down.

Differential Revision: https://developer.blender.org/D12364

Commit Details:

Full Hash: 42546db49089eba5543af00ea08f8075ac98d743
Parent Commit: 99c981f
Lines Changed: +13, -8

1 Modified Path:

/release/scripts/startup/bl_operators/wm.py (+13, -8) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021