Commit Graph
2318 Commits
Author SHA1 Message Date
Dmitry Stepanov a86184e856 cargo fmt 2026-06-11 12:08:02 +03:00
Dmitry Stepanov 806c3ed297 finished with PartialEq impls 2026-06-11 12:05:30 +03:00
Dmitry Stepanov b0113664fa PartialEq impls + improvements for ui 2026-06-10 20:41:48 +03:00
Dmitry Stepanov b3c1d5586a fixed property revertion 2026-06-01 22:36:48 +03:00
Dmitry Stepanov 2ce1624186 renamed SceneGraphNode trait to NodeWrapper
- `SceneGraphNode` was implemented for types `struct Wrapper(Box<dyn NodeTrait>)`
- calling such types node itself is wrong, because the actual node is stored inside the box
2026-05-31 22:17:31 +03:00
Dmitry Stepanov 7f33a13ff9 merged TypeUuidProvider trait into Reflect 2026-05-28 21:50:17 +03:00
Dmitry Stepanov 1db8a092f1 fixed name column hiding in inspector
- setting name column width is not the correct way, because this property is recursively supplied to the inner inspectors and hides what shouldn't be hidden
2026-05-24 11:48:29 +03:00
Dmitry Stepanov 62501164b0 use inner value of node/widget wrapper in the inspector 2026-05-23 10:47:50 +03:00
Dmitry Stepanov bee807ea17 fixed downcasting for widgets and scene nodes
- removed a bunch of unnecessary casts to &dyn Reflect
2026-05-22 20:31:20 +03:00
Dmitry Stepanov d821684037 fixed is_out_of_sync to recursively check for out of sync 2026-05-21 22:04:23 +03:00
Dmitry Stepanov 8eb7496963 register ui widgets in inspector 2026-05-21 22:03:53 +03:00
Dmitry Stepanov e4c14c9546 register scene nodes in inspector 2026-05-21 21:47:43 +03:00
Dmitry Stepanov 480559e07a refactored Reflect::as_xxx methods to return value itself
- there's no reason anymore to use closures there because proxy structures now supports reflection in normal way
2026-05-21 18:22:39 +03:00
Dmitry Stepanov ec83a5d6e5 refactored Reflect trait to remove unnecessary proxying
- proxying to the inner value overly complicates the implementation and adds a lot overhead
- this is quite dangerous change since it may have subtle side effects, needs to be thoroughly tested
2026-05-19 18:49:17 +03:00
Dmitry Stepanov 93d4920477 renamed methods with confusing naming + docs 2026-05-16 19:31:41 +03:00
Dmitry Stepanov e7f1b1d4d8 cleaned up type info fetching from Reflect + put type info in a struct 2026-05-15 11:32:33 +03:00
Dmitry Stepanov 91f8c360b5 removed Reflect::as_any/as_any_mut
- useless methods because can be replaced via `Reflect::as_reflect` + `as &dyn Reflect` cast
2026-05-13 23:33:13 +03:00
Dmitry Stepanov 8df053acf4 fixed crash when closing a scene with a camera selected on other scene
- fixes #919
2026-05-13 19:11:01 +03:00
Dmitry Stepanov f8c7edb223 fixed animation player fetching in absm editor
- previous impl was using ComponentProvider with a hacky impl that did unsafe transmute on a handle reference type
- new impl is using strong typing without type mangling
2026-05-13 13:12:02 +03:00
Dmitry Stepanov d317a1179f fixed doc comments + fixed misleading docs 2026-05-10 20:06:56 +03:00
Dmitry Stepanov 1c0cf15c50 unified naming for field fetching via reflection
- previous approach with `ComponentProvider` trait was quite misleading, it didn't return a "component" - it simply returned marked fieds
- the new approach is more explicit - method names tells exactly what they do
2026-05-10 18:28:18 +03:00
Dmitry Stepanov c03e4aa7e9 removed ComponentProvider, merged its functionality into Reflect
- chained component fetching isn't supported yet, so it is not one-to-one merge
2026-05-09 19:55:11 +03:00
Dmitry Stepanov 660bcd709a renamed field -> find_field + field_mut -> find_field_mut 2026-05-06 23:49:46 +03:00
CopeFiendandCopeFiend 8e9d2573d0 Add UI_FONT_SIZE const in editor (#914)
* Added `UI_FONT_SIZE` const in Editor, prerequisite for font size
settings

* Added `fn set_style()` for FormattedText

* Fixes clippy warning

* Add WidgetMessage:Style handling to TextBox

---------

Co-authored-by: CopeFiend <[email protected]>
2026-04-30 22:17:20 +03:00
Dmitry Stepanov ba5eeae42e improved logging of errors in inspector context menu 2026-04-28 21:46:28 +03:00
Dmitry Stepanov 60d8b2d9eb cargo fmt 2026-04-25 00:03:53 +03:00
Dmitry Stepanov f3befeef86 fixed clippy warnings 2026-04-22 23:49:45 +03:00
Dmitry Stepanov 48e41572ef improved editor stats window to show loaded asset count 2026-04-20 22:12:17 +03:00
Dmitry Stepanov fe51f6b463 correctly end stderr + stdout capturing processes on force-stopping game
- this bug led to increasing cpu usage when killing running game process via "stop" red button in the editor
2026-04-20 00:06:37 +03:00
Dmitry Stepanov 4a0602ab25 bump version for the future release
- helps to catch bug reports from the "nightly" version of the engine
2026-03-30 20:50:58 +03:00
Dmitry Stepanov 9e9e2d7032 1.0.1 + changelog 2026-03-28 09:39:38 +03:00
Dmitry Stepanov 6e54d5c1c2 prevent crash when moving a scene node 2026-03-19 23:21:36 +03:00
Dmitry Stepanov 99b408e2f4 fixed resource registry not loading in time on wasm
- this issue caused some resources to not load
- the plugin initialization was moved to event queue and only when the registry is fully loaded
2026-03-19 21:53:29 +03:00
Dmitry Stepanov 322f3178a2 watch only registry root for changes 2026-03-16 20:45:18 +03:00
Dmitry Stepanov 1f4cff4adc fixed title 2026-03-15 19:54:17 +03:00
Dmitry Stepanov 9d1b7be4c3 fixed crash when switching scenes after selecting an audio bus 2026-03-15 10:58:13 +03:00
Dmitry Stepanov 351178c1ad do not offset a collider when changing its size via shape editing 2026-03-14 23:32:41 +03:00
Dmitry Stepanov ea587d8128 fixed incorrect shape editing for cuboid shapes 2026-03-14 22:15:29 +03:00
Dmitry Stepanov 7f19ad008e tooltip with track property name 2026-03-13 22:10:05 +03:00
Dmitry Stepanov 53665c460d cargo clippy --fix + cargo fmt 2026-03-12 23:29:58 +03:00
Dmitry Stepanov 9de5582a4b do not echo sync-only messages 2026-03-12 21:08:00 +03:00
Dmitry Stepanov 4a7a092db0 prevent message spam when executing editor tests
- speeds up testing very significantly
2026-03-12 20:59:47 +03:00
Dmitry Stepanov e726b3e8ac increase ambient lighting for asset preview 2026-03-11 18:33:55 +03:00
Dmitry Stepanov 90625cda38 fixed prefab hot reloading 2026-03-09 23:06:22 +03:00
Dmitry Stepanov bc413859a4 fixed camera preview being cutoff from the bottom 2026-03-09 16:37:01 +03:00
Dmitry Stepanov e7924cd682 do not reset camera state when doing any changes on it 2026-03-09 16:29:12 +03:00
Dmitry Stepanov 4e5bfb4f79 ability to disable background curves in the animation editor 2026-03-09 10:52:59 +03:00
Dmitry Stepanov ff8a34f361 fixed warnings 2026-03-09 09:51:08 +03:00
Dmitry Stepanov 45cde8990a correctly leave preview mode when closing absm editor 2026-03-08 21:46:17 +03:00
Dmitry Stepanov a34d300814 correctly leave preview mode when closing animation editor 2026-03-08 21:43:28 +03:00