mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 02:46:49 +00:00
Fix decals and LOS texture in Actor Viewer, by slightly reducing use of globals.
Fix particles in Actor Viewer. Expand terrain in Actor Viewer. Change background to black so it blends with the LOS texture more nicely. This was SVN commit r9172.
This commit is contained in:
@@ -88,7 +88,7 @@ bool CObjectEntry::BuildVariation(const std::vector<std::set<CStr> >& selections
|
||||
variation.decal.m_SizeX, variation.decal.m_SizeZ,
|
||||
variation.decal.m_Angle, variation.decal.m_OffsetX, variation.decal.m_OffsetZ,
|
||||
m_Base->m_Properties.m_FloatOnWater);
|
||||
m_Model = new CModelDecal(g_Game->GetWorld()->GetTerrain(), decal);
|
||||
m_Model = new CModelDecal(objectManager.GetTerrain(), decal);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user