From c0dee4ed6e438bc5091d752ec2ea87d434b41f2e Mon Sep 17 00:00:00 2001 From: 2youyou2 <501251991@qq.com> Date: Wed, 6 Jul 2016 09:36:55 +0800 Subject: [PATCH] fixed windows graphics --- native/cocos/2d/libcocos2d.vcxproj | 6 ++++++ native/cocos/2d/libcocos2d.vcxproj.filters | 18 ++++++++++++++++++ .../editor-support/creator/CCGraphicsNode.h | 2 +- 3 files changed, 25 insertions(+), 1 deletion(-) diff --git a/native/cocos/2d/libcocos2d.vcxproj b/native/cocos/2d/libcocos2d.vcxproj index 60e391c64d..d8877fe13a 100644 --- a/native/cocos/2d/libcocos2d.vcxproj +++ b/native/cocos/2d/libcocos2d.vcxproj @@ -296,7 +296,9 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32\libs\*.*" "$(OutDir)" + + @@ -611,7 +613,9 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32\libs\*.*" "$(OutDir)" + + @@ -770,6 +774,8 @@ xcopy /Y /Q "$(ProjectDir)..\..\external\win32\libs\*.*" "$(OutDir)" + + diff --git a/native/cocos/2d/libcocos2d.vcxproj.filters b/native/cocos/2d/libcocos2d.vcxproj.filters index bb8a453122..c583b11488 100644 --- a/native/cocos/2d/libcocos2d.vcxproj.filters +++ b/native/cocos/2d/libcocos2d.vcxproj.filters @@ -1001,6 +1001,12 @@ extension\AssetManager + + creator + + + creator + @@ -1980,6 +1986,12 @@ extension\AssetManager + + creator + + + creator + @@ -2004,5 +2016,11 @@ math + + creator + + + creator + \ No newline at end of file diff --git a/native/cocos/editor-support/creator/CCGraphicsNode.h b/native/cocos/editor-support/creator/CCGraphicsNode.h index 23e2e558a2..c28301b64d 100644 --- a/native/cocos/editor-support/creator/CCGraphicsNode.h +++ b/native/cocos/editor-support/creator/CCGraphicsNode.h @@ -119,7 +119,7 @@ typedef struct Command Command; typedef std::vector< Command* > CommandVector; -class GraphicsNode: public cocos2d::Node +class CC_DLL GraphicsNode : public cocos2d::Node { public: