diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-08-31 13:37:50 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-09-01 16:24:26 +0300 |
commit | 26d5c24f0aad85d137f7e465858877d80c0d6a36 (patch) | |
tree | aea66d1690011a026d1c13e9b05a8bbe44aac350 /source/blender/editors/transform/transform.h | |
parent | 9259052e15e799433a48bffc00711049010b47e3 (diff) |
Fix T80258: UILayout.prop_search() issues with datablock names
If the search menu was used for a string property, and a data-block was
selected from the search, the value set would be an invalid name. The
property would get the modified UI string, not the proper data name set.
This problem was already once solved in rB249ccab111ac, but resurfaced
in rB937d89afba36.
Now only use the modified UI string if requires_exact_data_name is not
true.
Note: the comments in rB249ccab111ac [reg. library hints and string
properties, also that pointer properties are preferred over string
properties when dealing with IDs] still apply.
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D8759
(cherry picked from 2.90 commit
cb0b0416f454419cd1902434f7dffa2682417a56)
Diffstat (limited to 'source/blender/editors/transform/transform.h')
0 files changed, 0 insertions, 0 deletions