From c998639c30c6078a1be4a23793367f7a574d83ca Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 25 Aug 2015 15:18:09 +0800 Subject: [PATCH] update interface for gamenode3d --- .../WidgetReader/GameNode3DReader/GameNode3DReader.cpp | 4 ++-- .../WidgetReader/GameNode3DReader/GameNode3DReader.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cocos/editor-support/cocostudio/WidgetReader/GameNode3DReader/GameNode3DReader.cpp b/cocos/editor-support/cocostudio/WidgetReader/GameNode3DReader/GameNode3DReader.cpp index 22f47b916e..aeeddc3cb6 100644 --- a/cocos/editor-support/cocostudio/WidgetReader/GameNode3DReader/GameNode3DReader.cpp +++ b/cocos/editor-support/cocostudio/WidgetReader/GameNode3DReader/GameNode3DReader.cpp @@ -62,8 +62,8 @@ namespace cocostudio return _instanceNode3DReader; } - static CameraBackgroundSkyBoxBrush* _sceneBrushInstance = nullptr; - CameraBackgroundSkyBoxBrush* GameNode3DReader::getSceneBrushInstance() + static CameraBackgroundBrush* _sceneBrushInstance = nullptr; + CameraBackgroundBrush* GameNode3DReader::getSceneBrushInstance() { return _sceneBrushInstance; } diff --git a/cocos/editor-support/cocostudio/WidgetReader/GameNode3DReader/GameNode3DReader.h b/cocos/editor-support/cocostudio/WidgetReader/GameNode3DReader/GameNode3DReader.h index b32ec1249f..72ed03e1ca 100644 --- a/cocos/editor-support/cocostudio/WidgetReader/GameNode3DReader/GameNode3DReader.h +++ b/cocos/editor-support/cocostudio/WidgetReader/GameNode3DReader/GameNode3DReader.h @@ -47,7 +47,7 @@ namespace cocostudio ~GameNode3DReader(); static GameNode3DReader* getInstance(); - static cocos2d::CameraBackgroundSkyBoxBrush* getSceneBrushInstance(); + static cocos2d::CameraBackgroundBrush* getSceneBrushInstance(); /** @deprecated Use method destroyInstance() instead */ CC_DEPRECATED_ATTRIBUTE static void purge(); static void destroyInstance();