mirror of
https://github.com/Relintai/mesh_data_resource.git
synced 2024-11-12 10:15:21 +01:00
MeshDataInstance now inherits from GeometryInstance. This way the portal culling system recognizes them on room conversion. They still don't get turned on/off properly yet.
This commit is contained in:
parent
b66b9c5ba9
commit
dfd8e93965
@ -42,8 +42,8 @@ SOFTWARE.
|
||||
|
||||
class PropInstance;
|
||||
|
||||
class MeshDataInstance : public VisualInstance {
|
||||
GDCLASS(MeshDataInstance, VisualInstance);
|
||||
class MeshDataInstance : public GeometryInstance {
|
||||
GDCLASS(MeshDataInstance, GeometryInstance);
|
||||
|
||||
public:
|
||||
bool get_snap_to_mesh() const;
|
||||
|
Loading…
Reference in New Issue
Block a user