mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Fix incorrect type hierarchy of HermiteCurve, PandaNode, ShaderGenerator
This commit is contained in:
parent
53258af876
commit
b113d9db55
@ -163,7 +163,9 @@ public:
|
|||||||
return _type_handle;
|
return _type_handle;
|
||||||
}
|
}
|
||||||
static void init_type() {
|
static void init_type() {
|
||||||
register_type(_type_handle, "HermiteCurve");
|
PiecewiseCurve::init_type();
|
||||||
|
register_type(_type_handle, "HermiteCurve",
|
||||||
|
PiecewiseCurve::get_class_type());
|
||||||
}
|
}
|
||||||
virtual TypeHandle get_type() const {
|
virtual TypeHandle get_type() const {
|
||||||
return get_class_type();
|
return get_class_type();
|
||||||
|
@ -799,12 +799,10 @@ public:
|
|||||||
return _type_handle;
|
return _type_handle;
|
||||||
}
|
}
|
||||||
static void init_type() {
|
static void init_type() {
|
||||||
TypedWritable::init_type();
|
TypedWritableReferenceCount::init_type();
|
||||||
ReferenceCount::init_type();
|
|
||||||
Namable::init_type();
|
Namable::init_type();
|
||||||
register_type(_type_handle, "PandaNode",
|
register_type(_type_handle, "PandaNode",
|
||||||
TypedWritable::get_class_type(),
|
TypedWritableReferenceCount::get_class_type(),
|
||||||
ReferenceCount::get_class_type(),
|
|
||||||
Namable::get_class_type());
|
Namable::get_class_type());
|
||||||
CData::init_type();
|
CData::init_type();
|
||||||
Down::init_type();
|
Down::init_type();
|
||||||
|
@ -151,9 +151,9 @@ public:
|
|||||||
return _type_handle;
|
return _type_handle;
|
||||||
}
|
}
|
||||||
static void init_type() {
|
static void init_type() {
|
||||||
TypedObject::init_type();
|
TypedReferenceCount::init_type();
|
||||||
register_type(_type_handle, "ShaderGenerator",
|
register_type(_type_handle, "ShaderGenerator",
|
||||||
TypedObject::get_class_type());
|
TypedReferenceCount::get_class_type());
|
||||||
}
|
}
|
||||||
virtual TypeHandle get_type() const {
|
virtual TypeHandle get_type() const {
|
||||||
return get_class_type();
|
return get_class_type();
|
||||||
@ -173,9 +173,9 @@ public:
|
|||||||
return _type_handle;
|
return _type_handle;
|
||||||
}
|
}
|
||||||
static void init_type() {
|
static void init_type() {
|
||||||
TypedObject::init_type();
|
TypedReferenceCount::init_type();
|
||||||
register_type(_type_handle, "ShaderGenerator",
|
register_type(_type_handle, "ShaderGenerator",
|
||||||
TypedObject::get_class_type());
|
TypedReferenceCount::get_class_type());
|
||||||
}
|
}
|
||||||
virtual TypeHandle get_type() const {
|
virtual TypeHandle get_type() const {
|
||||||
return get_class_type();
|
return get_class_type();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user