replace model
|
@ -1056,7 +1056,7 @@ void Sprite3DReskinTest::menuCallback_switchHair(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->isVisible())
|
||||
|
@ -1159,14 +1159,14 @@ std::string Sprite3DReskinTest::subtitle() const
|
|||
|
||||
void Sprite3DReskinTest::addNewSpriteWithCoords(Vec2 p)
|
||||
{
|
||||
_girlPants[0]= "Girl_Xiashen_01";
|
||||
_girlPants[1]= "Girl_Xiashen_02";
|
||||
_girlUpperBody[0] = "Girl_Shangshen_01";
|
||||
_girlUpperBody[1] = "Girl_Shangshen_02";
|
||||
_girlShoes[0] = "Girl_Xie_01";
|
||||
_girlShoes[1] = "Girl_Xie_02";
|
||||
_girlHair[0]= "Girl_Toufa_01";
|
||||
_girlHair[1]= "Girl_Toufa_02";
|
||||
_girlPants[0]= "Girl_LowerBody01";
|
||||
_girlPants[1]= "Girl_LowerBody02";
|
||||
_girlUpperBody[0] = "Girl_UpperBody01";
|
||||
_girlUpperBody[1] = "Girl_UpperBody02";
|
||||
_girlShoes[0] = "Girl_Shoes01";
|
||||
_girlShoes[1] = "Girl_Shoes02";
|
||||
_girlHair[0]= "Girl_Hair01";
|
||||
_girlHair[1]= "Girl_Hair02";
|
||||
_usePantsId = 0;
|
||||
_useUpBodyId = 0;
|
||||
_useShoesId =0;
|
||||
|
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |