This PR clarifies the visgroups better in that not every entity has it's own visgroup, similar to teamspen's changes (see first commit). Going further, it ensures each entity has a visgroup, avoiding the "entities without visgroups" spew during generation.
Also I found a bug in generating visgroups. There is a space+tab instead of pure tabs in a few lines:
Because the parser only strips tabs, this breaks visgroup generation. This is present on upstream as well, so I will PR that change there too.
Lastly, visgroups.cfg and autovis on entities do the same thing, so I consolidated all visgrouping to visgroups.cfg.
Based on parent https://github.com/ChaosInitiative/Chaos-FGD/pull/24 Tackles apart of https://github.com/ChaosInitiative/Chaos-FGD/issues/19
This PR clarifies the visgroups better in that not every entity has it's own visgroup, similar to teamspen's changes (see first commit). Going further, it ensures each entity has a visgroup, avoiding the "entities without visgroups" spew during generation.
Also I found a bug in generating visgroups. There is a space+tab instead of pure tabs in a few lines:
Because the parser only strips tabs, this breaks visgroup generation. This is present on upstream as well, so I will PR that change there too.
Lastly,
visgroups.cfg
andautovis
on entities do the same thing, so I consolidated all visgrouping tovisgroups.cfg
.