diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-03-05 15:33:01 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2020-03-05 15:35:44 +0100 |
commit | fdda39a5061b6754204c34bc7e79ec7b4150bc79 (patch) | |
tree | cb7b739b8a70aaf23c9544eef8b806fb7f0be542 /editor/plugins/polygon_2d_editor_plugin.cpp | |
parent | 5ea8b1692a8929861ecc52d6be208df60e2402ab (diff) |
Signals: Don't pass default binds to EditorProperty property_changed
This was done by mistake in #36758, but it's not necessary and actual
causes a bug.
`property_changed` is only emitted via `emit_changed()`, which already
has default values for `p_field` and `p_changing`.
Also reverted to using `String` for now to be on the safe side, even if
it's inconsistent with `emit_changed()`. I had only changed it
partially in #36758 so it was inconsistent. It probably does make sense
to port `EditorInspector` and related property editors to use
`StringName` where relevant, but that's for a dedicated PR.
Fixes #36799.
Diffstat (limited to 'editor/plugins/polygon_2d_editor_plugin.cpp')
0 files changed, 0 insertions, 0 deletions