mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2024-12-25 11:18:30 +00:00
[engine] 修复 MotionStreak 初始化报错的问题
This commit is contained in:
parent
b98b586745
commit
2882d044ba
@ -255,6 +255,7 @@ var MotionStreak = cc.Class({
|
||||
|
||||
_updateMaterial () {
|
||||
let material = this.getMaterial(0);
|
||||
if (!material) return;
|
||||
|
||||
// 根据材质更新 uniform
|
||||
const isMultiMaterial = material.material.isMultiSupport();
|
||||
|
Loading…
Reference in New Issue
Block a user