mirror of https://github.com/axmolengine/axmol.git
commit
f2e5eb332a
|
@ -290,6 +290,9 @@ Node* ClippingNode::getStencil() const
|
|||
|
||||
void ClippingNode::setStencil(Node *stencil)
|
||||
{
|
||||
if (_stencil == stencil)
|
||||
return;
|
||||
|
||||
#if CC_ENABLE_GC_FOR_NATIVE_OBJECTS
|
||||
auto sEngine = ScriptEngineManager::getInstance()->getScriptEngine();
|
||||
if (sEngine)
|
||||
|
|
Loading…
Reference in New Issue