mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
*** empty log message ***
This commit is contained in:
parent
5fea860c84
commit
456e96a3d6
@ -544,8 +544,12 @@ apply_texture_attributes(Texture *tex, const EggTexture *egg_tex) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case EggTexture::WM_unspecified:
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
cerr << "Unexpected texture wrap flag: "
|
egg2sg_cat.warning()
|
||||||
|
<< "Unexpected texture wrap flag: "
|
||||||
<< (int)egg_tex->determine_wrap_u() << "\n";
|
<< (int)egg_tex->determine_wrap_u() << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -564,8 +568,12 @@ apply_texture_attributes(Texture *tex, const EggTexture *egg_tex) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case EggTexture::WM_unspecified:
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
cerr << "Unexpected texture wrap flag: "
|
egg2sg_cat.warning()
|
||||||
|
<< "Unexpected texture wrap flag: "
|
||||||
<< (int)egg_tex->determine_wrap_v() << "\n";
|
<< (int)egg_tex->determine_wrap_v() << "\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -788,7 +796,6 @@ apply_texture_apply_attributes(TextureApplyTransition *apply,
|
|||||||
} else {
|
} else {
|
||||||
switch (egg_tex->get_env_type()) {
|
switch (egg_tex->get_env_type()) {
|
||||||
case EggTexture::ET_modulate:
|
case EggTexture::ET_modulate:
|
||||||
case EggTexture::ET_unspecified:
|
|
||||||
apply->set_mode(TextureApplyProperty::M_modulate);
|
apply->set_mode(TextureApplyProperty::M_modulate);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@ -796,8 +803,12 @@ apply_texture_apply_attributes(TextureApplyTransition *apply,
|
|||||||
apply->set_mode(TextureApplyProperty::M_decal);
|
apply->set_mode(TextureApplyProperty::M_decal);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case EggTexture::ET_unspecified:
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
cerr << "Invalid texture environment "
|
egg2sg_cat.warning()
|
||||||
|
<< "Invalid texture environment "
|
||||||
<< (int)egg_tex->get_env_type() << "\n";
|
<< (int)egg_tex->get_env_type() << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user