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();