]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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)
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

1  2 
qcsrc/menu/xonotic/dialog_multiplayer_create_mutators.qc