mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
remove spurious warning
This commit is contained in:
parent
91632a1ea8
commit
a55442c808
@ -903,9 +903,16 @@ config() {
|
|||||||
if (_coords != (Vertexf*)0L && _bind[G_COORD] != G_OFF) {
|
if (_coords != (Vertexf*)0L && _bind[G_COORD] != G_OFF) {
|
||||||
_get_vertex =
|
_get_vertex =
|
||||||
(_vindex == (ushort*)0L) ? get_vertex_nonindexed : get_vertex_indexed;
|
(_vindex == (ushort*)0L) ? get_vertex_nonindexed : get_vertex_indexed;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
gobj_cat.error()
|
// It's not really an error not to have a vertex array; maybe
|
||||||
<< "Geom::Config() - no vertex array!" << endl;
|
// there are no vertices in the Geom. This happens sometimes with
|
||||||
|
// the particle system. It's perfectly legal to have a Geom with
|
||||||
|
// no vertices--it just doesn't look like much.
|
||||||
|
|
||||||
|
// gobj_cat.error()
|
||||||
|
// << "Geom::Config() - no vertex array!" << endl;
|
||||||
|
_get_vertex = get_vertex_noop;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set up normal rendering configuration
|
// Set up normal rendering configuration
|
||||||
|
Loading…
x
Reference in New Issue
Block a user