mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-19 14:25:14 +03:00
Some cleanup of MSP code
This commit is contained in:
parent
ce9ade16e5
commit
2ffefb065f
11 changed files with 29 additions and 81 deletions
|
@ -47,7 +47,7 @@ var Model = function (wrapper, canvas) {
|
|||
this.renderer.setSize(this.wrapper.width() * 2, this.wrapper.height() * 2);
|
||||
|
||||
// load the model including materials
|
||||
var model_file = useWebGLRenderer ? mixerList[CONFIG.multiType - 1].model : 'fallback';
|
||||
var model_file = useWebGLRenderer ? mixerList[BF_CONFIG.mixerConfiguration - 1].model : 'fallback';
|
||||
|
||||
// Temporary workaround for 'custom' model until akfreak's custom model is merged.
|
||||
if (model_file == 'custom') { model_file = 'fallback'; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue