Skip to content

Commit 159282c

Browse files
Chapter5780Chapter5780
authored andcommitted
Update W3DTerrainVisual initialization - render the entire terrain for unlimited zooming, very slow
1 parent 95cc1be commit 159282c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Core/GameEngineDevice/Source/W3DDevice/GameClient/W3DTerrainVisual.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,8 @@ Bool W3DTerrainVisual::load( AsciiString filename )
611611
m_clientHeightMap,
612612
it);
613613
#else
614-
m_terrainRenderObject->initHeightData( m_logicHeightMap->getDrawWidth(),
615-
m_logicHeightMap->getDrawHeight(),
614+
m_terrainRenderObject->initHeightData( m_logicHeightMap->getXExtent(),
615+
m_logicHeightMap->getYExtent(),
616616
m_logicHeightMap,
617617
it);
618618
#endif

0 commit comments

Comments
 (0)