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:
Relintai 2021-08-14 15:15:21 +02:00
parent b66b9c5ba9
commit dfd8e93965

View File

@ -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;