浏览代码

Merge pull request #1229 from Azaezel/guiShapeNameHud_filterFix

stops names showing through statics
Areloch 10 年之前
父节点
当前提交
b30b5d9076
共有 1 个文件被更改,包括 1 次插入1 次删除
  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,