]> git.xonotic.org Git - xonotic/netradiant.git/commit
refresh VFS on model refresh, refresh models on VFS refresh 72/head
authorThomas Debesse <dev@illwieckz.net>
Tue, 1 Aug 2017 19:13:15 +0000 (21:13 +0200)
committerThomas Debesse <dev@illwieckz.net>
Tue, 1 Aug 2017 19:13:15 +0000 (21:13 +0200)
commitb95a7aef1972705eab99f34a56ff4f33c0e7b3ed
tree867776d2cb486db6d6637dc307b41b7e2ef7f725
parentc001d05fb1dc902a725dbf50df82e88a1a526a21
refresh VFS on model refresh, refresh models on VFS refresh

Before:

- refreshing textures were refreshing VFS (to load enabled texture packs)
  but models were not refreshed
- refreshing textures were refreshing models but textures would be missing
  since the VFS was not refreshed and texture packs would be not loaded

After:

- refreshing textures or models both refresh VFS, textures and models,
  this way you don't anymore reload models without refreshing textures, or
  refresh VFS without reloading models, etc.
radiant/mainframe.cpp