Browse Source

Merge pull request #1229 from Azaezel/guiShapeNameHud_filterFix

stops names showing through statics
Areloch 10 years ago
parent
commit
b30b5d9076
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/source/T3D/fps/guiShapeNameHud.cpp

+ 1 - 1
Engine/source/T3D/fps/guiShapeNameHud.cpp

@@ -196,7 +196,7 @@ void GuiShapeNameHud::onRender( Point2I, const RectI &updateRect)
 
 
    // Collision info. We're going to be running LOS tests and we
    // Collision info. We're going to be running LOS tests and we
    // don't want to collide with the control object.
    // don't want to collide with the control object.
-   static U32 losMask = TerrainObjectType | ShapeBaseObjectType;
+   static U32 losMask = TerrainObjectType | ShapeBaseObjectType | StaticObjectType;
    control->disableCollision();
    control->disableCollision();
 
 
    // All ghosted objects are added to the server connection group,
    // All ghosted objects are added to the server connection group,