mirror of https://github.com/axmolengine/axmol.git
Fix 3d particle can not show in simulator
This commit is contained in:
parent
faee3e7807
commit
17a5d07183
|
@ -401,7 +401,7 @@ namespace cocostudio
|
||||||
node->setScaleZ(scale->z());
|
node->setScaleZ(scale->z());
|
||||||
}
|
}
|
||||||
|
|
||||||
node->setCameraMask(cameraMask, false);
|
node->setCameraMask(cameraMask, true);
|
||||||
|
|
||||||
auto nodeReader = NodeReader::getInstance();
|
auto nodeReader = NodeReader::getInstance();
|
||||||
nodeReader->setPropsWithFlatBuffers(node, (Table*)(options->nodeOptions()));
|
nodeReader->setPropsWithFlatBuffers(node, (Table*)(options->nodeOptions()));
|
||||||
|
|
Loading…
Reference in New Issue