mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-12-08 16:58:46 +00:00
[engine] Spine 组件多纹理渲染、动态图集、与其它组件合批、region 换装
This commit is contained in:
@@ -427,8 +427,8 @@ let AnimationCache = cc.Class({
|
||||
}
|
||||
|
||||
blendMode = slot.data.blendMode;
|
||||
if (_preTexUrl !== texture.nativeUrl || _preBlendMode !== blendMode) {
|
||||
_preTexUrl = texture.nativeUrl;
|
||||
if (_preTexUrl !== texture._texture._id || _preBlendMode !== blendMode) {
|
||||
_preTexUrl = texture._texture._id;
|
||||
_preBlendMode = blendMode;
|
||||
// Handle pre segment.
|
||||
preSegOffset = _segOffset - 1;
|
||||
|
||||
Reference in New Issue
Block a user