Commit Graph

17 Commits

Author SHA1 Message Date
Relintai bedb86c987 Work on fixing compile. 2023-01-09 01:17:26 +01:00
Relintai d4b0189041 Added a mesh_data_resource_changed signal to MeshDataInstance. 2021-12-29 18:22:44 +01:00
Relintai ccce088bbd Refresh the mesh in MeshDataInstance when the assigned MeshDataResource is changed. 2021-12-29 00:35:47 +01:00
Relintai 4830687056 Fix compile for older versions of the engine than 3.x. 2021-08-29 18:56:09 +02:00
Relintai 8488a033db Temporarily set MeshDataInstance's portal mode to PORTAL_MODE_GLOBAL on creation. This disables portal culling for it by default, as it turns out portal culling doesn't work with custom (and even some built in engine class) GeometryInstances yet. 2021-08-14 16:57:29 +02:00
Relintai b66b9c5ba9 Now MeshDataInstance inherits from VisualInstance. 2021-08-14 13:44:35 +02:00
Relintai 8f9becba0e Removed get_substitute_for_room. It will not be needed. 2021-08-14 12:18:17 +02:00
Relintai d1a5bbf2a0 Added a method to MeshDataInstance that can return a substitute MeshInstance. 2021-08-13 22:56:05 +02:00
Relintai 4595d4abee Fix moving MeshDataInstance even when only it's parent is moved. 2021-08-12 20:25:03 +02:00
Relintai 2a2b2ae31a Reworked MeshDataInstance now it's using the VisualServer directly instead of it being inherited from MeshInstance. now it's a lot more reliable. 2021-08-10 18:37:46 +02:00
Relintai efb1d42957 Tiny improvement to mesh data intance's logic. 2021-08-10 18:07:43 +02:00
Relintai 2cb2d2e558 Reworked setup mesh in MeshDataInstance. Now it's called refresh, it's bound, and it's always callable. This should fix most of the current annoyances with the class. 2021-03-23 11:21:24 +01:00
Relintai 5b9617bfaa Fix compile for 4.0. 2021-02-06 11:51:02 +01:00
Relintai a9bab9896d Fix compile for 4.0. 2020-07-29 00:02:05 +02:00
Relintai 85417ebee9 Improved MeshDataInstance, and PropDataMeshData will create a material in _processor_get_node_for. 2020-07-05 23:09:23 +02:00
Relintai eb3c654998 Finished up MeshDataInstance. 2020-07-05 12:18:00 +02:00
Relintai 95b565e2a4 Added a MeshDataInstance node. 2020-06-27 21:44:45 +02:00