mirror of https://github.com/axmolengine/axmol.git
Backport CCValue APIs
This commit is contained in:
parent
9d9067dec4
commit
d6e9427e61
|
@ -761,7 +761,7 @@ namespace cocostudio
|
|||
{
|
||||
ValueMap value = FileUtils::getInstance()->getValueMapFromFile(plist);
|
||||
ValueMap metadata = value["metadata"].asValueMap();
|
||||
auto& textureFileName = metadata["textureFileName"].asString();
|
||||
auto textureFileName = metadata["textureFileName"].asString();
|
||||
if (!FileUtils::getInstance()->isFileExist(textureFileName))
|
||||
{
|
||||
normalErrorFilePath = textureFileName;
|
||||
|
@ -819,7 +819,7 @@ namespace cocostudio
|
|||
{
|
||||
ValueMap value = FileUtils::getInstance()->getValueMapFromFile(plist);
|
||||
ValueMap metadata = value["metadata"].asValueMap();
|
||||
auto& textureFileName = metadata["textureFileName"].asString();
|
||||
auto textureFileName = metadata["textureFileName"].asString();
|
||||
if (!FileUtils::getInstance()->isFileExist(textureFileName))
|
||||
{
|
||||
pressedErrorFilePath = textureFileName;
|
||||
|
@ -877,7 +877,7 @@ namespace cocostudio
|
|||
{
|
||||
ValueMap value = FileUtils::getInstance()->getValueMapFromFile(plist);
|
||||
ValueMap metadata = value["metadata"].asValueMap();
|
||||
auto& textureFileName = metadata["textureFileName"].asString();
|
||||
auto textureFileName = metadata["textureFileName"].asString();
|
||||
if (!FileUtils::getInstance()->isFileExist(textureFileName))
|
||||
{
|
||||
disabledErrorFilePath = textureFileName;
|
||||
|
|
Loading…
Reference in New Issue