TTimo / GtkRadiant

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

[q3map2] Avoid division by zero (remove removable singularity) #599

Closed tkoeppe closed 6 years ago

tkoeppe commented 6 years ago

I'd welcome a sanity check whether it's plausible to have shader widths or heights that are zero. I'm seeing such situations in our set of maps, but I wonder if that's a bug in our map generation.