mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
fixed motion streak
This commit is contained in:
@@ -224,7 +224,7 @@ var MotionStreak = cc.Class({
|
||||
if (!material) {
|
||||
material = new SpriteMaterial();
|
||||
material.texture = texture.getImpl();
|
||||
renderer.materialUtil.register(url, this._material);
|
||||
renderer.materialUtil.register(url, material);
|
||||
}
|
||||
|
||||
this._material = material;
|
||||
|
||||
Reference in New Issue
Block a user