]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
Merge branch 'terencehill/menu_optimization' into 'master'
authorMario <zacjardine@y7mail.com>
Mon, 4 Jan 2016 11:48:46 +0000 (11:48 +0000)
committerMario <zacjardine@y7mail.com>
Mon, 4 Jan 2016 11:48:46 +0000 (11:48 +0000)
commit692cb758fe8f25fa078bfd5885333ee031885600
treeac8b465928da1a8a006b81ead5fac17ca6cbcc10
parentf099f166c5d50cebd0b7083a31ccf26e3df213b7
parent45b3b481ec56d555b1382a49c025fdb7ec0ab18b
Merge branch 'terencehill/menu_optimization' into 'master'

Menu optimization

List of demos, screenshots, music tracks and player models (current player model image too) are now loaded on display, previously both on start (2 times due to a bug) and on display

List of cvars and keybinds are now loaded only on display (previously only on start)

Implementation changes:
* Removed an unnecessary showNotify call for every item when building up the menu (caused to load many file lists twice)
* Added SUPER(XonoticCvarsDialog).showNotify(me); in the implementation of showNotify for dialogs so that showNotify gets called for every item in the dialog (e.g. for the cvarlist in the "Advanced Settings" dialog)

See merge request !263
qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc