diff options
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/inspect-types.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/editor/inspect-types.cpp b/editor/inspect-types.cpp index 914c76a4..5668d6b2 100644 --- a/editor/inspect-types.cpp +++ b/editor/inspect-types.cpp @@ -62,6 +62,10 @@ struct entity_accessors<object, inspect_intent_t> { [](object& x, Vector2ub value) { x.set_bbox(x.offset, x.bbox_offset, value, x.pass); }, [](const object& x) { return x.pass == pass_mode::pass ? st::readonly : st::enabled; }, }, + E::type<bool>::field{"ephemeral"_s, + [](const object& x) { return x.ephemeral; }, + [](object& x, bool value) { x.ephemeral = value; }, + }, }; } }; |
