Closed zhuxudong closed 1 month ago
fix https://github.com/galacean/editor/issues/2657
The additive ability in editor use the index of Renderer Component, so the order of the components must be fixed:
index
Renderer
addComponent(Renderer) after all materialPromise finished.
addComponent(Renderer)
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![image](https://github.com/galacean/engine/assets/17639043/55164168-09ed-428c-961b-ecfecb304ca1)
index
ofRenderer
Component, so the order of the components must be fixed:What is the new behavior (if this is a feature change)?
addComponent(Renderer)
after all materialPromise finished.