17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-10-24 19:11:52 +02:00

chore: remove the NVRHI-based betterRenderer

This commit is contained in:
2026-10-21 19:30:32 +02:00
parent 9c2520ea52
commit 12c2aaf1db
893 changed files with 40 additions and 492397 deletions

View File

@@ -1107,9 +1107,8 @@ std::vector<scene::shape_node> roadpoint_node::create_shapes() const
// puts geometry of the point in the scene as shapes of its own, which can be taken back
void roadpoint_node::show()
{
if (m_shapes.shown() || m_editorremoved || simulation::Region == nullptr || Global.NvRenderer)
if (m_shapes.shown() || m_editorremoved || simulation::Region == nullptr)
{
// NOTE: the experimental renderer draws only what the scenery had when it was loaded
return;
}
m_shapes.show(create_shapes(), m_state.position);