mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
merge manul
This commit is contained in:
@@ -1265,7 +1265,7 @@ basic_region::insert( shape_node Shape, scratch_data &Scratchpad, bool const Tra
|
||||
|
||||
if( Global.CreateSwitchTrackbeds ) {
|
||||
|
||||
auto const materialname{ GfxRenderer->Material( Shape.data().material ).name };
|
||||
auto const materialname{GfxRenderer->Material(Shape.data().material)->GetName()};
|
||||
for( auto const &switchtrackbedtexture : switchtrackbedtextures ) {
|
||||
if( contains( materialname, switchtrackbedtexture ) ) {
|
||||
// geometry with blacklisted texture, part of old switch trackbed; ignore it
|
||||
|
||||
Reference in New Issue
Block a user