there is a conflict naming between name and keypath,
we should keep them same in one name.
LOTMatteType mMatte;
int mVisible;
unsigned char mAlpha;
- const char *name;
+ const char *keypath;
} LOTLayerNode;
mLayerCNode->mClipPath.elmPtr = nullptr;
mLayerCNode->mClipPath.ptCount = 0;
mLayerCNode->mClipPath.elmCount = 0;
- mLayerCNode->name = name().c_str();
+ mLayerCNode->keypath = name().c_str();
}
if (complexContent()) mLayerCNode->mAlpha = uchar(combinedAlpha() * 255.f);
mLayerCNode->mVisible = visible();