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:
Ykkrosh
2011-04-05 20:32:03 +00:00
parent 329d044a9e
commit 29dd635d3b
15 changed files with 136 additions and 38 deletions
+1 -1
View File
@@ -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;
}