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
1 changed files with 2 additions and 2 deletions

View File

@ -42,8 +42,8 @@ SOFTWARE.
class PropInstance; class PropInstance;
class MeshDataInstance : public VisualInstance { class MeshDataInstance : public GeometryInstance {
GDCLASS(MeshDataInstance, VisualInstance); GDCLASS(MeshDataInstance, GeometryInstance);
public: public:
bool get_snap_to_mesh() const; bool get_snap_to_mesh() const;