mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
Merge branch '3.8' into 4.0-beta
This commit is contained in:
commit
585a6f0e39
@ -851,7 +851,7 @@ bool SkeletonRenderer::getDebugBoundingRectEnabled() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SkeletonRenderer::onEnter () {
|
void SkeletonRenderer::onEnter () {
|
||||||
#if CC_ENABLE_SCRIPT_BINDING
|
#if CC_ENABLE_SCRIPT_BINDING && COCOS2D_VERSION < 0x00040000
|
||||||
if (_scriptType == kScriptTypeJavascript && ScriptEngineManager::sendNodeEventToJSExtended(this, kNodeOnEnter)) return;
|
if (_scriptType == kScriptTypeJavascript && ScriptEngineManager::sendNodeEventToJSExtended(this, kNodeOnEnter)) return;
|
||||||
#endif
|
#endif
|
||||||
Node::onEnter();
|
Node::onEnter();
|
||||||
@ -859,7 +859,7 @@ void SkeletonRenderer::onEnter () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SkeletonRenderer::onExit () {
|
void SkeletonRenderer::onExit () {
|
||||||
#if CC_ENABLE_SCRIPT_BINDING
|
#if CC_ENABLE_SCRIPT_BINDING && COCOS2D_VERSION < 0x00040000
|
||||||
if (_scriptType == kScriptTypeJavascript && ScriptEngineManager::sendNodeEventToJSExtended(this, kNodeOnExit)) return;
|
if (_scriptType == kScriptTypeJavascript && ScriptEngineManager::sendNodeEventToJSExtended(this, kNodeOnExit)) return;
|
||||||
#endif
|
#endif
|
||||||
Node::onExit();
|
Node::onExit();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user