expose CharacterSlider and find_slider() properly

This commit is contained in:
David Rose 2007-03-21 18:55:39 +00:00
parent 9d0153e171
commit 5179b6de77
2 changed files with 4 additions and 0 deletions

View File

@ -56,9 +56,11 @@ public:
return get_class_type(); return get_class_type();
} }
virtual TypeHandle force_init_type() {init_type(); return get_class_type();} virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
PUBLISHED:
static TypeHandle get_class_type() { static TypeHandle get_class_type() {
return _type_handle; return _type_handle;
} }
public:
static void init_type() { static void init_type() {
MovingPart<ACScalarSwitchType>::init_type(); MovingPart<ACScalarSwitchType>::init_type();
AnimChannelFixed<ACScalarSwitchType>::init_type(); AnimChannelFixed<ACScalarSwitchType>::init_type();

View File

@ -61,9 +61,11 @@ public:
return get_class_type(); return get_class_type();
} }
virtual TypeHandle force_init_type() {init_type(); return get_class_type();} virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
PUBLISHED:
static TypeHandle get_class_type() { static TypeHandle get_class_type() {
return _type_handle; return _type_handle;
} }
public:
static void init_type() { static void init_type() {
MovingPartScalar::init_type(); MovingPartScalar::init_type();
register_type(_type_handle, "CharacterSlider", register_type(_type_handle, "CharacterSlider",