8000 Fix renderer component's order is random now by zhuxudong · Pull Request #2097 · galacean/engine · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix renderer component's order is random now #2097

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 16, 2024

Conversation

zhuxudong
Copy link
Member

Please check if the PR fulfills these requirements

fix https://github.com/galacean/editor/issues/2657

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

The additive ability in editor use the index of Renderer Component, so the order of the components must be fixed:
image

What is the new behavior (if this is a feature change)?

addComponent(Renderer) after all materialPromise finished.

@zhuxudong zhuxudong added the bug Something isn't working label May 15, 2024
@zhuxudong zhuxudong requested review from GuoLei1990 and luzhuang May 15, 2024 11:45
@zhuxudong zhuxudong self-assigned this May 15, 2024
@GuoLei1990 GuoLei1990 merged commit 5257929 into galacean:main May 16, 2024
6 checks passed
GuoLei1990 added a commit to GuoLei1990/galacean-engine that referenced this pull request Jun 3, 2024
* dev/1.3:
  fix: use default material to prevent material[] (galacean#2104)
  Add `Script` in `onStart` may cause some functions to not be executed correctly. (galacean#2102)
  "v1.2.0-beta.5"
  Redesign `Skin` of `SkinnedMeshRenderer` (galacean#2100)
  Fix glTF renderer component's order is random now (galacean#2097)
  "v1.2.0-beta.4"
  "v1.2.0-beta.3"
  Fix the bug of animation playback for multiple same type components under an Entity (galacean#2095)
  Support get any subAsset from GLTFParser (galacean#2093)
  Replace `throw` with `console.error` to prevent blocking the main thread (galacean#2077)
  Fixed the problem that function macro declaration is lost after compilation (galacean#2087)
6FD6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working glTF
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0