mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 19:08:55 -04:00
*** empty log message ***
This commit is contained in:
parent
756f72e0b7
commit
4d9ab7f0c7
@ -327,8 +327,15 @@ choose_placements() {
|
|||||||
// Now groups is the set of groups that the egg file requires,
|
// Now groups is the set of groups that the egg file requires,
|
||||||
// which also happen to include the texture. It better not be
|
// which also happen to include the texture. It better not be
|
||||||
// empty.
|
// empty.
|
||||||
nassertv(!groups.empty());
|
if (groups.empty()) {
|
||||||
|
nout << "Warning! Egg file " << get_name() << ", referencing texture "
|
||||||
|
<< *reference << ", does not have any groups in common.\n"
|
||||||
|
<< "Egg groups:\n";
|
||||||
|
get_complete_groups().write(nout, 2);
|
||||||
|
nout << "Texture groups:\n";
|
||||||
|
texture->get_groups().write(nout, 2);
|
||||||
|
|
||||||
|
} else {
|
||||||
// It doesn't really matter which group in the set we choose, so
|
// It doesn't really matter which group in the set we choose, so
|
||||||
// we arbitrarily choose the first one.
|
// we arbitrarily choose the first one.
|
||||||
PaletteGroup *group = (*groups.begin());
|
PaletteGroup *group = (*groups.begin());
|
||||||
@ -342,6 +349,7 @@ choose_placements() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: EggFile::has_data
|
// Function: EggFile::has_data
|
||||||
|
Loading…
x
Reference in New Issue
Block a user