17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-01 09:12:08 +01: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

@@ -4224,10 +4224,9 @@ void road_table::create_geometry(scene::scratch_data &Scratchpad)
{
continue;
}
if (Global.editor_session && false == Global.NvRenderer)
if (Global.editor_session)
{
// scenery opened for editing: the road keeps its geometry apart, so it can be changed later.
// NOTE: the experimental renderer draws only what the scenery had when it was loaded
road->show();
continue;
}
@@ -4278,7 +4277,7 @@ void junction_table::create_geometry(scene::scratch_data &Scratchpad)
{
continue;
}
if (Global.editor_session && false == Global.NvRenderer)
if (Global.editor_session)
{
junction->show();
continue;

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

View File

@@ -1356,7 +1356,7 @@ void sweep_table::create_geometry(scene::scratch_data &Scratchpad)
{
sweep->refresh();
}
if (Global.editor_session && false == Global.NvRenderer)
if (Global.editor_session)
{
// scenery opened for editing: the copies are kept apart, so they can be changed later
sweep->show();