diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-24 23:24:04 +0100 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-02-24 23:24:04 +0100 |
| commit | aba8a1a31d912d1a77b827fbd1c55dc3134f6327 (patch) | |
| tree | 4148b714307376ebfa7d2fff4f2b53606986949d /editor | |
| parent | 004ba665948a7c41c15e2353bd82e20447646aca (diff) | |
wip broken
Diffstat (limited to 'editor')
| -rw-r--r-- | editor/inspect-types.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/inspect-types.cpp b/editor/inspect-types.cpp index 8c50fc18..9a59118b 100644 --- a/editor/inspect-types.cpp +++ b/editor/inspect-types.cpp @@ -53,9 +53,9 @@ struct entity_accessors<scenery_ref> { [](scenery_ref& x, Vector2b value) { x.frame.bbox_offset = value; }, [](const scenery_ref& x) { return x.frame.passability == pass_mode::pass ? field_status::readonly : field_status::enabled; }, }, - entity::type<Vector2b>::field{"bbox-size"_s, + entity::type<Vector2ub>::field{"bbox-size"_s, [](const scenery_ref& x) { return x.frame.bbox_size; }, - [](scenery_ref& x, Vector2b value) { x.frame.bbox_size = value; }, + [](scenery_ref& x, Vector2ub value) { x.frame.bbox_size = value; }, [](const scenery_ref& x) { return x.frame.passability == pass_mode::pass ? field_status::readonly : field_status::enabled; }, }, entity::type<bool>::field{"interactive"_s, |
