mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 16:20:11 -04:00
pgraph: Add missing InstancedNode::CData type handle
This commit is contained in:
parent
06921aba93
commit
8c2b3c3192
@ -18,6 +18,7 @@
|
|||||||
#include "cullPlanes.h"
|
#include "cullPlanes.h"
|
||||||
|
|
||||||
TypeHandle InstancedNode::_type_handle;
|
TypeHandle InstancedNode::_type_handle;
|
||||||
|
TypeHandle InstancedNode::CData::_type_handle;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
@ -92,6 +92,17 @@ private:
|
|||||||
COWPT(InstanceList) _instances;
|
COWPT(InstanceList) _instances;
|
||||||
|
|
||||||
friend class InstancedNode;
|
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;
|
PipelineCycler<CData> _cycler;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user