Sfoglia il codice sorgente

stops names showing through statics

Azaezel 10 anni fa
parent
commit
9f15b740ea
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      Engine/source/T3D/fps/guiShapeNameHud.cpp

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

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