GarageGames / Torque3D

MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
MIT License
3.35k stars 1.2k forks source link

footprint decals cause a .decals file to me created/modified #2178

Open Bloodknight opened 6 years ago

Bloodknight commented 6 years ago

based on a conversation in IRC this seems to be an 'overzealous saving action' by the decal subsystem.

However, this constant changing triggers git monitoring and causes git related problems since you cant ignore the file and constantly committing the file is also not a solution.

ghost commented 6 years ago

Those files are always created for levels, how you know it is the footprint?

Bloodknight commented 6 years ago

Those files are always created for levels but they shouldn't be

how you know it is the footprint? when you have eliminated the impossible, whatever remains, however improbable, must be the truth.

I could have expanded and listed most of the possible/probable temporary decals that cause the same issue, but that would have been more work than necessary. Empirical evidence also suggests that other decals do cause the same 'bug'.

Azaezel commented 6 years ago

Haven't had a great deal of time to trace on this, but at first blush, looks like https://github.com/GarageGames/Torque3D/search?utf8=%E2%9C%93&q=SaveDecal&type= is getting tripped somehow... (edit, that or it's just dumping all of the decal datablocks in regardless...)

Bloodknight commented 6 years ago

Failed to create resource: [levels/Outpost.mis.decals]

this appears in the log file when just entering the mission, I'm assuming its part of the same issue but because the editors' aren't loaded write permissions are not set