Mike
d58ed67fa4
add position to scene errors ( #8065 )
...
# Objective
- Fixes https://github.com/bevyengine/bevy/issues/6760
- adds line and position on line info to scene errors
```text
Before:
2023-03-12T22:38:59.103220Z WARN bevy_asset::asset_server: encountered an error while loading an asset: Expected closing `)`
After:
2023-03-12T22:38:59.103220Z WARN bevy_asset::asset_server: encountered an error while loading an asset: Expected closing `)` at scenes/test/scene.scn.ron:10:4
```
## Solution
- use span_error to get position info. This is what the ron crate does
internally to get the position info.
562963f887/src/options.rs (L158)
## Changelog
- added line numbers to scene errors
---------
Co-authored-by: Paul Hansen <mail@paul.rs>
2023-03-20 19:29:54 +00:00
Carl B. Smiley
e27f38a3e6
improve comments in example ( #8127 )
...
# Objective
Added additional comments to describe what is going on in an example.
2023-03-20 18:42:10 +00:00
Shfty
7b7294b8a7
Allow SPIR-V shaders to process when shader defs are present ( #7772 )
2023-03-19 09:26:26 +00:00
Daniel Chia
20101647c1
Left-handed y-up cubemap coordinates ( #8122 )
...
Co-authored-by: Robert Swain <robert.swain@gmail.com>
Co-authored-by: robtfm <50659922+robtfm@users.noreply.github.com>
2023-03-18 23:06:53 +00:00
ickshonpe
5703c75d76
Allow many_buttons
to be run without text ( #8116 )
2023-03-18 22:58:17 +00:00
Devin Gunay
f255872c1e
Derive Copy and Clone for Collision ( #8121 )
2023-03-18 04:55:31 +00:00
Carter Anderson
aefe1f0739
Schedule-First: the new and improved add_systems ( #8079 )
...
Co-authored-by: Mike <mike.hsu@gmail.com>
2023-03-18 01:45:34 +00:00
Bruce Reif (Buswolley)
bca4b36d4d
change not implemation to custom system struct ( #8105 )
...
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2023-03-17 21:37:16 +00:00
ickshonpe
52b91ac15b
Skip the UV calculations for untextured UI nodes ( #7809 )
2023-03-17 08:49:40 +00:00
Christian Hughes
609b099e7c
Add World::try_run_schedule ( #8028 )
...
Co-authored-by: James Liu <contact@jamessliu.com>
2023-03-17 01:22:54 +00:00
Edgar Geier
67afd21702
Fix Plugin::build
detection ( #8103 )
2023-03-17 00:16:20 +00:00
Mat Hostetter
f3d6c2d90b
Remove redundant bounds check in Entities::get
( #8108 )
2023-03-16 22:49:36 +00:00
Turki Jamaan
4a62afb97b
Doc and test get_many(_mut)
ordering ( #8045 )
2023-03-16 12:55:44 +00:00
Asier Illarramendi
cb100ba78f
Improve UI stack docs and other small tweaks ( #8094 )
2023-03-16 12:54:52 +00:00
IceSentry
9d1193df6c
Add low level post process example using a custom render pass ( #6909 )
...
Co-authored-by: JMS55 <47158642+JMS55@users.noreply.github.com>
Co-authored-by: Robert Swain <robert.swain@gmail.com>
2023-03-16 03:22:17 +00:00
François
b6b549e3ff
Fix look_to resulting in NaN rotations ( #7817 )
...
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: Liam Gallagher <ljpgallagher@xtra.co.nz>
2023-03-15 20:45:56 +00:00
Rob Parrett
1d4910a1e3
Fix scrolling in UI example ( #8069 )
...
Co-authored-by: Carter Anderson <mcanders1@gmail.com>
2023-03-15 06:50:37 +00:00
Rob Parrett
f6c72a7442
Fix blend_modes example UI positioning ( #8093 )
2023-03-15 01:03:53 +00:00
BlondeBurrito
602f3baf3f
fix: register Cascade in the TypeRegistry ( #8088 )
2023-03-15 00:11:55 +00:00
Nicola Papale
13196613ee
Add depending bevy features for higher level one ( #7855 )
2023-03-14 14:10:50 +00:00
sark
520e413c21
unused_variables
warning when building with filesystem_watcher
feature disabled (#7938 )
2023-03-14 08:58:55 +00:00
ickshonpe
e77eb003ec
Perform text scaling calculations per text, not per glyph ( #7819 )
2023-03-14 00:01:27 +00:00
Chris Russell
a63881905a
Pass query change ticks to QueryParIter
instead of always using change ticks from World
. ( #8029 )
...
Co-authored-by: Chris Russell <8494645+chescock@users.noreply.github.com>
Co-authored-by: James Liu <contact@jamessliu.com>
2023-03-13 22:06:16 +00:00
Mike
8a2502ce0f
change breakout to use FixedTime::period ( #8076 )
2023-03-13 21:12:53 +00:00
Bruce Reif (Buswolley)
7c4a0eb768
add Clone to common conditions ( #8060 )
2023-03-13 19:38:04 +00:00
Anti-Alias
884b9b62af
Added Globals struct to prepass shader ( #8070 )
2023-03-13 18:55:47 +00:00
James Liu
dcc0edf8a7
Make BundleInfo's fields not pub(crate) ( #8068 )
2023-03-13 16:18:49 +00:00
JoJoJet
ed97c621b8
Move docs for !Sync
resources onto the correct trait ( #8066 )
2023-03-13 16:16:14 +00:00
Liam Gallagher
0918b30e29
Tests for Run Conditions ( #8035 )
2023-03-13 15:39:25 +00:00
François
71b1b35757
do not set hit test unconditionally on window creation ( #7996 )
2023-03-13 15:31:13 +00:00
SneakyBerry
6bfc09f53e
Construct Box<dyn Reflect> from world for ReflectComponent ( #7407 )
...
Co-authored-by: SneakyBerry <kennedwyhokilled@gmail.com>
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2023-03-13 15:26:47 +00:00
ickshonpe
87dda354dd
Remove Val::Undefined
( #7485 )
2023-03-13 15:17:00 +00:00
François
d8b7fed4fe
don't panic on unknown ambiguity ( #7950 )
2023-03-12 15:24:52 +00:00
Gilbert Röhrbein
7d5f89cca1
Color::Lcha constructors ( #8041 )
...
Co-authored-by: James Liu <contact@jamessliu.com>
2023-03-11 18:50:16 +00:00
Gilbert Röhrbein
9e9ae5b830
Fix Color::as_rgba_linear for Color::Lcha ( #8040 )
...
Co-authored-by: James Liu <contact@jamessliu.com>
2023-03-11 12:12:31 +00:00
Alice Cecile
ee0e6f4855
Process 1 in Chrome tracing starts expanded ( #8024 )
2023-03-11 03:04:41 +00:00
JoJoJet
fd1af7c8b8
Replace multiple calls to add_system
with add_systems
( #8001 )
2023-03-10 18:15:22 +00:00
ickshonpe
729458815c
Fix the Text2d
text anchor's incorrect horizontal alignment ( #8019 )
2023-03-10 14:57:41 +00:00
Christian Hughes
8aa217cc8b
Add OnTransition schedule that is ran between OnExit and OnEnter ( #7936 )
2023-03-10 09:06:23 +00:00
James Liu
7d9cb1c4ab
Remove ChangeTrackers ( #7902 )
2023-03-09 20:02:56 +00:00
Konstantin Kostiuk
3ec764ea24
Initialize empty schedules when calling .in_schedule
if they do not already exist ( #7911 )
2023-03-09 17:24:24 +00:00
JoJoJet
2e7b915ba4
Increase type safety and clarity for change detection ( #7905 )
2023-03-09 17:17:02 +00:00
Rob Parrett
b7ac5d5121
Update trybuild tests for Rust 1.68 ( #8002 )
2023-03-09 15:46:06 +00:00
ickshonpe
f554700108
Add methods for calculating the size and postion of UI nodes ( #7930 )
...
Co-authored-by: François <mockersf@gmail.com>
2023-03-09 14:12:54 +00:00
Ikko Eltociear Ashimine
e22572d9a3
Fix typo in utility.rs ( #7997 )
2023-03-09 09:20:45 +00:00
James Liu
37df316219
Document bevy_ecs::storage ( #7770 )
...
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
Co-authored-by: Rob Parrett <robparrett@gmail.com>
Co-authored-by: Carter Weinberg <weinbergcarter@gmail.com>
Co-authored-by: MinerSebas <66798382+MinerSebas@users.noreply.github.com>
Co-authored-by: Cameron <51241057+maniwani@users.noreply.github.com>
2023-03-09 07:22:48 +00:00
JoJoJet
21ddc60372
Add a public constructor for Mut<T>
( #7931 )
2023-03-09 05:40:58 +00:00
JoJoJet
545965075f
Make WorldQuery
meta types unnameable ( #7964 )
2023-03-09 05:40:06 +00:00
张林伟
84711e38b1
Set cursor hittest during window creation ( #7966 )
2023-03-09 05:39:49 +00:00
Aceeri
3cfcc66bdc
Move cursor position to internal state ( #7988 )
2023-03-09 05:39:01 +00:00