pgraph: Add missing InstancedNode::CData type handle
This commit is contained in:
parent
06921aba93
commit
8c2b3c3192
|
|
@ -18,6 +18,7 @@
|
|||
#include "cullPlanes.h"
|
||||
|
||||
TypeHandle InstancedNode::_type_handle;
|
||||
TypeHandle InstancedNode::CData::_type_handle;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
|
|||
|
|
@ -92,6 +92,17 @@ private:
|
|||
COWPT(InstanceList) _instances;
|
||||
|
||||
friend class InstancedNode;
|
||||
|
||||
public:
|
||||
static TypeHandle get_class_type() {
|
||||
return _type_handle;
|
||||
}
|
||||
static void init_type() {
|
||||
register_type(_type_handle, "InstancedNode::CData");
|
||||
}
|
||||
|
||||
private:
|
||||
static TypeHandle _type_handle;
|
||||
};
|
||||
|
||||
PipelineCycler<CData> _cycler;
|
||||
|
|
|
|||
Loading…
Reference in New Issue