Skip to content
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

can not modify shared material #6201

Merged
merged 1 commit into from Feb 22, 2020
Merged

can not modify shared material #6201

merged 1 commit into from Feb 22, 2020

Conversation

2youyou2
Copy link
Contributor

@2youyou2 2youyou2 commented Feb 21, 2020

Re: cocos/2d-tasks#2526

Changes:

  • can not modify shared material

节点还没加入到场景中的时候,渲染组件引用的材质可能还没转换成材质变体,如果修改了渲染组件的参数可能会修改到共享材质

@jareguo jareguo merged commit 133f079 into cocos:v2.3.1 Feb 22, 2020
1 check passed
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.

None yet

3 participants