mirror of
https://github.com/Relintai/mesh_data_resource.git
synced 2024-11-12 10:15:21 +01:00
Update after Props2D changes.
This commit is contained in:
parent
57a3c6ee34
commit
49dcf99e40
@ -69,7 +69,7 @@ bool Prop2DDataMeshData::_processor_handles(Node *node) {
|
||||
return i;
|
||||
}
|
||||
|
||||
void Prop2DDataMeshData::_processor_process(Ref<PropData> prop_data, Node *node, const Transform &transform) {
|
||||
void Prop2DDataMeshData::_processor_process(Ref<Prop2DData> prop_data, Node *node, const Transform &transform) {
|
||||
MeshDataInstance *i = Object::cast_to<MeshDataInstance>(node);
|
||||
|
||||
ERR_FAIL_COND(!i);
|
||||
|
@ -38,8 +38,8 @@ SOFTWARE.
|
||||
|
||||
#include "../../props_2d/props/prop_2d_data.h"
|
||||
|
||||
class Prop2DDataMeshData : public PropDataEntry {
|
||||
GDCLASS(Prop2DDataMeshData, PropDataEntry);
|
||||
class Prop2DDataMeshData : public Prop2DDataEntry {
|
||||
GDCLASS(Prop2DDataMeshData, Prop2DDataEntry);
|
||||
|
||||
public:
|
||||
Ref<MeshDataResource> get_mesh() const;
|
||||
@ -59,7 +59,7 @@ public:
|
||||
#endif
|
||||
|
||||
bool _processor_handles(Node *node);
|
||||
void _processor_process(Ref<PropData> prop_data, Node *node, const Transform &transform);
|
||||
void _processor_process(Ref<Prop2DData> prop_data, Node *node, const Transform &transform);
|
||||
Node *_processor_get_node_for(const Transform &transform);
|
||||
|
||||
Prop2DDataMeshData();
|
||||
|
Loading…
Reference in New Issue
Block a user