replace model

This commit is contained in:
yangxiao 2014-08-25 19:25:51 +08:00
parent 8bfd56c080
commit dd93439c4b
15 changed files with 9 additions and 9 deletions

View File

@ -1056,7 +1056,7 @@ void Sprite3DReskinTest::menuCallback_switchHair(Ref* sender)
} }
void Sprite3DReskinTest::menuCallback_switchGlasses(Ref* sender) void Sprite3DReskinTest::menuCallback_switchGlasses(Ref* sender)
{ {
auto subMesh = _sprite->getMeshByName("Girl_Yanjing_01"); auto subMesh = _sprite->getMeshByName("Girl_Glasses01");
if(subMesh) if(subMesh)
{ {
if(subMesh->isVisible()) if(subMesh->isVisible())
@ -1159,14 +1159,14 @@ std::string Sprite3DReskinTest::subtitle() const
void Sprite3DReskinTest::addNewSpriteWithCoords(Vec2 p) void Sprite3DReskinTest::addNewSpriteWithCoords(Vec2 p)
{ {
_girlPants[0]= "Girl_Xiashen_01"; _girlPants[0]= "Girl_LowerBody01";
_girlPants[1]= "Girl_Xiashen_02"; _girlPants[1]= "Girl_LowerBody02";
_girlUpperBody[0] = "Girl_Shangshen_01"; _girlUpperBody[0] = "Girl_UpperBody01";
_girlUpperBody[1] = "Girl_Shangshen_02"; _girlUpperBody[1] = "Girl_UpperBody02";
_girlShoes[0] = "Girl_Xie_01"; _girlShoes[0] = "Girl_Shoes01";
_girlShoes[1] = "Girl_Xie_02"; _girlShoes[1] = "Girl_Shoes02";
_girlHair[0]= "Girl_Toufa_01"; _girlHair[0]= "Girl_Hair01";
_girlHair[1]= "Girl_Toufa_02"; _girlHair[1]= "Girl_Hair02";
_usePantsId = 0; _usePantsId = 0;
_useUpBodyId = 0; _useUpBodyId = 0;
_useShoesId =0; _useShoesId =0;

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 37 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB