Added Optimizer::FlattenBillboardsVisitor.

This commit is contained in:
Robert Osfield
2006-07-18 11:03:46 +00:00
parent e016cdafb2
commit a74801a0ee
3 changed files with 139 additions and 4 deletions

View File

@@ -49,7 +49,7 @@ Geode::~Geode()
bool Geode::addDrawable( Drawable *drawable )
{
if (drawable && !containsDrawable(drawable))
if (drawable /* && !containsDrawable(drawable)*/)
{
// note ref_ptr<> automatically handles incrementing drawable's reference count.
_drawables.push_back(drawable);