Commit Graph
7549 Commits
Author SHA1 Message Date
Dmitry Stepanov 8fcda35665 configurable environment lighting source for reflection probes 2025-10-13 21:28:40 +03:00
b-guild 2154144069 Protecting FormattedText against unloaded resource panic (#855)
* Protecting FormattedText against unloaded resource panic

* Adding comments to FormattedText
2025-10-12 23:05:48 +03:00
Dmitry Stepanov 72911fa2d5 transform irradiance + specular map to linear color space
- fixes overly bright image when pbr + reflection probes are used
2025-10-12 19:03:39 +03:00
Dmitry Stepanov a8aa8cc4f9 added name for material editor
- prevents hanging of the editor when the material editor is docked
2025-10-12 16:35:56 +03:00
Dmitry Stepanov 56a0915f9d added margins for material editor 2025-10-12 16:33:47 +03:00
Dmitry Stepanov 0cc115213b show material name in the material editor's window title 2025-10-11 23:10:56 +03:00
Dmitry Stepanov 11d36f1420 update texture name in texture property editor when new texture was set 2025-10-11 22:57:48 +03:00
Dmitry Stepanov 1427255655 write resource metadata when registering a resource 2025-10-11 22:45:16 +03:00
Dmitry Stepanov 2d9cbf8610 fixed uuid desync in write_metadata 2025-10-11 22:44:52 +03:00
Dmitry Stepanov 13fc571799 fixed ability to duplicate built-in resources 2025-10-10 21:55:44 +03:00
Dmitry Stepanov 445775e3a3 ability to reload a resource in the asset browser 2025-10-10 21:03:17 +03:00
Dmitry Stepanov 7ec338750d ignore built-in resources in ResourceManager::reload_resource 2025-10-10 21:03:02 +03:00
Dmitry Stepanov 008fb09b72 fixed name of built-in widget shader
- removed redundant constants
2025-10-09 23:12:14 +03:00
Dmitry Stepanov 95fdcef84e added standard widget material in built-in resources 2025-10-09 23:04:07 +03:00
Dmitry Stepanov 55c5d7a94e improved box selection for ui
- small box considered as a click that does single selection via simple picking
2025-10-09 22:48:49 +03:00
Dmitry Stepanov 78061fe96e correctly restore visibility of docked windows when applying a layout 2025-10-08 21:25:17 +03:00
b-guild 7311ddbe21 Improving error reporting. (#853) 2025-10-08 19:37:33 +03:00
Artemy Fedotov 42b0eead30 Fix expected string literal error in include_str! macro (#854) 2025-10-08 13:00:50 +03:00
Dmitry Stepanov 271ebf899d fixed box selection in ui 2025-10-07 23:30:10 +03:00
Dmitry Stepanov f7434e0d54 fixed bound_of of DrawingContext
- fixes gradient brushes in UI
2025-10-07 20:57:35 +03:00
Dmitry Stepanov f63359e88f hide brush from reflection for formatted text
- this field is set externally in text/textbox widgets from foreground property essentially overriding any value set in there
2025-10-07 20:47:38 +03:00
Dmitry Stepanov 5b2db864d9 fixed Clone impl of SceneRenderingOptions 2025-10-06 20:10:31 +03:00
Dmitry Stepanov 69c163a579 updated changelog 2025-10-05 14:25:51 +03:00
b-guild 89e7cdbe28 Preventing deadlock by replacing lock with safe_lock (#852)
* Preventing deadlock by replacing `lock` with `safe_lock`

* Fixing unused code warnings in wasm SafeLock
2025-10-05 10:34:06 +03:00
Dmitry Stepanov 9dcdd9c28b fixed crash on material hot-reloading when a property was removed 2025-10-04 21:42:08 +03:00
Dmitry Stepanov 55c8bc4cef update the material editor when hot-reloading a shader
- if a shader used by the material was changed, the editor now updates the material editor to reflect the changes
2025-10-04 21:23:01 +03:00
Dmitry Stepanov 22168f7d75 automatically destroy dead senders in resource event broadcasters 2025-10-04 21:21:59 +03:00
Dmitry Stepanov 0d1554a19a prevent crash on empty uniform blocks 2025-10-04 20:30:26 +03:00
Dmitry Stepanov 73047b41d2 fixed curves naming for quaternions 2025-10-04 11:00:26 +03:00
Dmitry Stepanov 43952b7ac7 added non-euler-angles-based rotation track
- fixed gimbal lock in GLTF animations
2025-10-04 10:26:06 +03:00
Dmitry Stepanov 10d0e16acd fixed clippy warnings 2025-10-04 10:23:59 +03:00
b-guild 19a959a4b0 Correct source EOL from CRLF to LF, no other changes. (#851) 2025-10-03 10:56:23 +03:00
Dmitry Stepanov 4edc109131 fixed ui rendering 2025-10-02 09:54:41 +03:00
LuoZheng2002 7ec002f00c Renamed pool method typed_ref to try_get (#846)
* replaced the BorrowAs trait with ObjectOrVariant trait; added explicit trait bounds in pool and graph's typed_ref method.

* renamed pool's typed_ref to try_get

* renamed try_get to try_get_node in BaseSceneGraph

* deleted try_get_mut from impl Graph, and replaced all occurrences with try_get_node_mut

* renamed typed_ref in SceneGraph to try_get

* added graph::prelude which contains AbstractSceneGraph, BaseSceneGraph and SceneGraph traits; added use graph::prelude::* in the script template to expose try_get functionalities.

* resolved merge issues

* formatted code

* added use fyrox::graph::prelude::* to template game/src/lib.rs to expose UserInterface's try_get functionality

* added "#[allow(unused_imports)]" on game template and script template
2025-10-01 20:54:17 +03:00
Dmitry Stepanov 34f60ecc3b do not alter already loaded resource state when reloading it
- if an error ocurred when reloading a resource, the previous state remain intact allowing to fix an error and retry to reload
- show error messages that happens during (re)loading
2025-10-01 17:57:29 +03:00
Dmitry Stepanov f8e3d2577b configurable render mode for ui 2025-09-30 19:28:57 +03:00
Dmitry Stepanov 45ac310b34 fixed selection button being clipped on material property editor
- fixes #847
2025-09-30 14:33:32 +03:00
LuoZheng2002 d48276b837 fixed the ObjectOrVariantHelper implementation for UiNode variants (#848) 2025-09-30 14:14:32 +03:00
LuoZheng2002 32b131a896 added pure color texture (#845) 2025-09-30 14:13:57 +03:00
b-guild 7a71aa9bb5 Correcting InheritableVariable::visit and physics integration parameters dt (#844) 2025-09-30 14:13:02 +03:00
Dmitry Stepanov dadf078092 Merge remote-tracking branch 'origin/ui_rendering_api' 2025-09-30 14:12:09 +03:00
Dmitry Stepanov 2b382a9179 docs + fixed warnings 2025-09-30 10:57:41 +03:00
Dmitry Stepanov 16cd27dd76 added srgba8/srgb8 texture formats 2025-09-30 10:57:23 +03:00
Dmitry ad78773d3b ui rendering api improvements (draft) 2025-09-29 17:50:03 +03:00
LuoZheng2002andDmitry e0e8218a72 Replaced the BorrowAs trait with ObjectOrVariant trait. (#841)
* replaced the BorrowAs trait with ObjectOrVariant trait; added explicit trait bounds in pool and graph's typed_ref method.

* fixed tests

* fixed restore_integrity test

- it was failing spontaneously due do conflicting resource registries from two tests

* fixed clippy warnings

* install rustfmt + clippy on a CI machine before running the tests

* fixed confusing documentation about batching

* updated changelog

* changelog fixes

* ability to set runs via respective message

* replaced the BorrowAs trait with ObjectOrVariant trait; added explicit trait bounds in pool and graph's typed_ref method.

* removed unused imports

* satisfied cargo doc

---------

Co-authored-by: Dmitry <[email protected]>
2025-09-29 00:30:48 +03:00
Dmitry 392497cc56 ability to set runs via respective message 2025-09-28 16:32:12 +03:00
Dmitry fb3bceb95d changelog fixes 2025-09-28 12:05:13 +03:00
Dmitry 7bf9f37052 updated changelog 2025-09-28 12:04:27 +03:00
Dmitry a3880e83a2 fixed confusing documentation about batching 2025-09-27 20:53:10 +03:00
Dmitry 4ae7100e4a install rustfmt + clippy on a CI machine before running the tests 2025-09-27 18:50:12 +03:00