mirror of https://github.com/axmolengine/axmol.git
Merge pull request #13409 from liamcindy/V3.8_reader
fix userCamera flag error with old version files
This commit is contained in:
commit
66d99d392c
|
@ -133,6 +133,8 @@ namespace cocostudio
|
||||||
}
|
}
|
||||||
else if (attriname == "CameraFlagData")
|
else if (attriname == "CameraFlagData")
|
||||||
{
|
{
|
||||||
|
int flag = atoi(value.c_str());
|
||||||
|
if (flag != 0)
|
||||||
cameraFlag = atoi(value.c_str());
|
cameraFlag = atoi(value.c_str());
|
||||||
}
|
}
|
||||||
else if (attriname == "SkyBoxEnabled")
|
else if (attriname == "SkyBoxEnabled")
|
||||||
|
|
Loading…
Reference in New Issue