wait_pending should return void

This commit is contained in:
David Rose 2008-09-13 03:58:44 +00:00
parent fd0af5b6ef
commit 57bbde2ab2
4 changed files with 4 additions and 4 deletions

View File

@ -115,7 +115,7 @@ AnimControl::
// Description: Blocks the current thread until the AnimControl has
// finished loading and is fully bound.
////////////////////////////////////////////////////////////////////
bool AnimControl::
void AnimControl::
wait_pending() {
MutexHolder holder(_pending_lock);
while (_pending) {

View File

@ -50,7 +50,7 @@ PUBLISHED:
virtual ~AnimControl();
INLINE bool is_pending() const;
bool wait_pending();
void wait_pending();
INLINE bool has_anim() const;
void set_pending_done_event(const string &done_event);
string get_pending_done_event() const;

View File

@ -369,7 +369,7 @@ load_bind_anim(Loader *loader, const Filename &filename,
// AnimControls, with a nonzero control effect, have
// been loaded and are properly bound.
////////////////////////////////////////////////////////////////////
bool PartBundle::
void PartBundle::
wait_pending() {
CDReader cdata(_cycler);
ChannelBlend::const_iterator cbi;

View File

@ -133,7 +133,7 @@ PUBLISHED:
int hierarchy_match_flags,
const PartSubset &subset,
bool allow_async);
bool wait_pending();
void wait_pending();
bool freeze_joint(const string &joint_name, const TransformState *transform);
bool control_joint(const string &joint_name, PandaNode *node);