TTimo / GtkRadiant

The open source, cross platform level editor for idtech games
http://icculus.org/gtkradiant/
Other
582 stars 152 forks source link

Do not draw lines between hidden entitities #532

Open TTimo opened 6 years ago

TTimo commented 6 years ago

When hiding most everything in the map, there's still a bunch of lines drawn. If the two entities at the end of the segment are hidden, we shouldn't draw the line.

TTimo commented 6 years ago

15:50 < Mateos> the coloured lines between target/targetname entities 15:51 < Mateos> you perhaps have this hidden, it's alt + 8 iirc 15:53 <@TTimo> ah it's nice that it can be toggled 15:53 <@TTimo> but it should still skip draw for entities that are hidden

TTimo commented 6 years ago

That's not going to work with 'hide selected' is it? Sounds like the global toggle only

Pan7 commented 6 years ago

It hides the lines if entities are filtered.

Aciz commented 6 years ago

Wasn't the point of the initial idea to hide the lines if the entities were hidden by selecting them and pressing H to hide?

Edit: although this is a nice thing to have as well