From 17a5d07183f34138150fa45df9ad861c9710f363 Mon Sep 17 00:00:00 2001 From: XiaoFeng Date: Mon, 3 Aug 2015 09:53:16 +0800 Subject: [PATCH] Fix 3d particle can not show in simulator --- .../cocostudio/WidgetReader/Node3DReader/Node3DReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos/editor-support/cocostudio/WidgetReader/Node3DReader/Node3DReader.cpp b/cocos/editor-support/cocostudio/WidgetReader/Node3DReader/Node3DReader.cpp index 8775e6612b..5435505e48 100644 --- a/cocos/editor-support/cocostudio/WidgetReader/Node3DReader/Node3DReader.cpp +++ b/cocos/editor-support/cocostudio/WidgetReader/Node3DReader/Node3DReader.cpp @@ -401,7 +401,7 @@ namespace cocostudio node->setScaleZ(scale->z()); } - node->setCameraMask(cameraMask, false); + node->setCameraMask(cameraMask, true); auto nodeReader = NodeReader::getInstance(); nodeReader->setPropsWithFlatBuffers(node, (Table*)(options->nodeOptions()));