mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
show number of intervals
This commit is contained in:
parent
74f99dcf0f
commit
b4ed038469
@ -343,6 +343,10 @@ output(ostream &out) const {
|
|||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
void CIntervalManager::
|
void CIntervalManager::
|
||||||
write(ostream &out) const {
|
write(ostream &out) const {
|
||||||
|
// We need to write this line so that it's clear what's going on
|
||||||
|
// when there are no intervals in the list.
|
||||||
|
out << (int)_name_index.size() << " intervals.\n";
|
||||||
|
|
||||||
NameIndex::const_iterator ni;
|
NameIndex::const_iterator ni;
|
||||||
for (ni = _name_index.begin(); ni != _name_index.end(); ++ni) {
|
for (ni = _name_index.begin(); ni != _name_index.end(); ++ni) {
|
||||||
int index = (*ni).second;
|
int index = (*ni).second;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user