From 42bd3680451ed3dec652cec0dfc5b139d5e55544 Mon Sep 17 00:00:00 2001 From: Daniel Buckmaster Date: Sat, 16 May 2015 22:32:42 +1000 Subject: [PATCH] Default to no bounds instead of crazy bounds. See #1287. --- Engine/source/forest/ts/tsForestItemData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/forest/ts/tsForestItemData.h b/Engine/source/forest/ts/tsForestItemData.h index 197069c9f..46252361b 100644 --- a/Engine/source/forest/ts/tsForestItemData.h +++ b/Engine/source/forest/ts/tsForestItemData.h @@ -88,7 +88,7 @@ public: const Vector& getLOSDetails() const { return mLOSDetails; } // ForestItemData - const Box3F& getObjBox() const { return mShape ? mShape->bounds : Box3F::Invalid; } + const Box3F& getObjBox() const { return mShape ? mShape->bounds : Box3F::Zero; } bool render( TSRenderState *rdata, const ForestItem& item ) const; ForestCellBatch* allocateBatch() const; bool canBillboard( const SceneRenderState *state, const ForestItem &item, F32 distToCamera ) const;