Skip to content

Conversation

@MiniMinerX
Copy link
Contributor

Its not done yet, still some picking issues, transform gizmo issues. Also space editor can rid of its own relation system and now use bevy's built in one. Space editor is close to being amazing

@naomijub
Copy link
Collaborator

naomijub commented May 6, 2025

I can promise to review it next week. I'm travelling this week, but I will try to give feedback asap

@MiniMinerX
Copy link
Contributor Author

no worries I'll keep away at it! I've got a few other crates to update in the meantime too.

Copy link
Collaborator

@naomijub naomijub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick cellphone review to start haha

ctx: &UnpackContext<'_>,
) -> Entity {
let gltf_nodes = ctx.gltf_nodes;
let node = match gltf_nodes.get(node_handle) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace this with
Let Some(node) = gltf_nodes.get(node_handle) else {
Log and return
}

if load_state == Some(LoadState::Loaded)
if matches!(load_state, Some(LoadState::Loaded))
|| load_state.is_none()
|| matches!(load_state, Some(LoadState::Failed(_)))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both matches can be patternmatched together

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants