From: <mg...@us...> - 2008-05-22 05:02:54
|
Revision: 1554 http://planeshift.svn.sourceforge.net/planeshift/?rev=1554&view=rev Author: mgist Date: 2008-05-21 22:03:01 -0700 (Wed, 21 May 2008) Log Message: ----------- - Disabled decals on movable meshes. This doesn't work yet. Modified Paths: -------------- trunk/docs/history.txt trunk/src/client/clientcachemanager.cpp Modified: trunk/docs/history.txt =================================================================== --- trunk/docs/history.txt 2008-05-22 02:20:48 UTC (rev 1553) +++ trunk/docs/history.txt 2008-05-22 05:03:01 UTC (rev 1554) @@ -1,3 +1,6 @@ +*** 2008-05-22 by Mike Gist +- Disabled decals on movable meshes. This doesn't work yet. + *** 2008-05-22 by Steven Patrick - Fixed FS#1509, patch by kougaro - Fixed FS#1542, patch by peeg Modified: trunk/src/client/clientcachemanager.cpp =================================================================== --- trunk/src/client/clientcachemanager.cpp 2008-05-22 02:20:48 UTC (rev 1553) +++ trunk/src/client/clientcachemanager.cpp 2008-05-22 05:03:01 UTC (rev 1554) @@ -188,6 +188,8 @@ iMeshFactoryWrapper* meshW = psengine->GetEngine()->GetMeshFactories()->FindByName(indexEntry->factname); if(meshW) { + // Disable decals on all movable meshes. Make more specific if/when we need this and it works. + meshW->GetFlags().Set(CS_ENTITY_NODECAL); indexEntry->factory = meshW; indexEntry->loaded = true; return indexEntry; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |