add assertion

This commit is contained in:
David Rose 2004-07-31 15:47:38 +00:00
parent 068bd840ae
commit 5b807d3c0e
1 changed files with 2 additions and 1 deletions

View File

@ -152,11 +152,12 @@ set_uv(const string &name, const TexCoordd &uv) {
if (uv_obj.is_null()) {
uv_obj = new EggVertexUV(name, uv);
} else {
uv_obj = new EggVertexUV(*uv_obj);
uv_obj->set_uv(uv);
}
nassertv(get_uv(name) == uv);
}
////////////////////////////////////////////////////////////////////