inline void hideNode(const scene::INodePtr& node, bool hide) { if (hide) { node->enable(scene::Node::eHidden); } else { node->disable(scene::Node::eHidden); } }
bool pre(const scene::INodePtr& node) { node->enable(scene::Node::eHidden); return true; }