mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
expose CharacterSlider and find_slider() properly
This commit is contained in:
parent
9d0153e171
commit
5179b6de77
@ -56,9 +56,11 @@ public:
|
||||
return get_class_type();
|
||||
}
|
||||
virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
|
||||
PUBLISHED:
|
||||
static TypeHandle get_class_type() {
|
||||
return _type_handle;
|
||||
}
|
||||
public:
|
||||
static void init_type() {
|
||||
MovingPart<ACScalarSwitchType>::init_type();
|
||||
AnimChannelFixed<ACScalarSwitchType>::init_type();
|
||||
|
@ -61,9 +61,11 @@ public:
|
||||
return get_class_type();
|
||||
}
|
||||
virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
|
||||
PUBLISHED:
|
||||
static TypeHandle get_class_type() {
|
||||
return _type_handle;
|
||||
}
|
||||
public:
|
||||
static void init_type() {
|
||||
MovingPartScalar::init_type();
|
||||
register_type(_type_handle, "CharacterSlider",
|
||||
|
Loading…
x
Reference in New Issue
Block a user