mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
minor fixes
This commit is contained in:
parent
4a0bf0d87b
commit
9c8cfa3f2f
@ -34,7 +34,8 @@ TypeHandle AnimControl::_type_handle;
|
||||
AnimControl::
|
||||
AnimControl(const string &name, PartBundle *part,
|
||||
double frame_rate, int num_frames) :
|
||||
Namable(name)
|
||||
Namable(name),
|
||||
_bound_joints(BitArray::all_on())
|
||||
{
|
||||
#ifdef DO_MEMORY_USAGE
|
||||
MemoryUsage::update_type(this, get_class_type());
|
||||
|
@ -150,6 +150,7 @@ add_anims_from(const AnimPreloadTable *other) {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void AnimPreloadTable::
|
||||
output(ostream &out) const {
|
||||
consider_sort();
|
||||
out << "AnimPreloadTable, " << _anims.size() << " animation records.";
|
||||
}
|
||||
|
||||
@ -160,9 +161,9 @@ output(ostream &out) const {
|
||||
////////////////////////////////////////////////////////////////////
|
||||
void AnimPreloadTable::
|
||||
write(ostream &out, int indent_level) const {
|
||||
consider_sort();
|
||||
indent(out, indent_level)
|
||||
<< "AnimPreloadTable, " << _anims.size() << " animation records:\n";
|
||||
consider_sort();
|
||||
Anims::const_iterator ai;
|
||||
for (ai = _anims.begin(); ai != _anims.end(); ++ai) {
|
||||
const AnimRecord &record = (*ai);
|
||||
|
Loading…
x
Reference in New Issue
Block a user