Skip to content

Commit

Permalink
fixed extract controllers settings (use MP)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Duduf committed Nov 23, 2019
1 parent a38d67d commit 0f4b421
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/duik_required/Duik16_controllers.jsxinc
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,6 @@ function ui_buildControllers(ui_controllersMainGroup)
settings.save();
}

function ui_extractControllersCtrlOptionsButton_clicked()
{
if ( settings.data.controllerExtractUsingMP ) ui_extractControllersMPCtrlSelector.setCurrentIndex(1);
else ui_extractControllersMPCtrlSelector.setCurrentIndex(0);
setCurrentControllersPanel(1);
}

function ui_tagControllersButton_clicked()
{
Duik.controllers.tag();
Expand All @@ -71,7 +64,6 @@ function ui_buildControllers(ui_controllersMainGroup)
var useMp = false;
if (DuAEF.DuAE.App.version.version >= 15.1) useMp = settings.data.controllerExtractUsingMP;
Duik.controllers.extract( useMp );
setCurrentControllersPanel(0);
}

function ui_extractControllersCtrlValidButton_altClicked()
Expand Down Expand Up @@ -174,7 +166,8 @@ function ui_buildControllers(ui_controllersMainGroup)

// ============ INITIALIZE ==============

ui_extractControllersMPCtrlSelector.setCurrentIndex(0);
if ( settings.data.controllerExtractUsingMP ) ui_extractControllersMPCtrlSelector.setCurrentIndex( 1 );
else ui_extractControllersMPCtrlSelector.setCurrentIndex( 0 );
ui_pseudoEffectsSelector.setCurrentIndex(0);

ui_controllersMainGroup.tabActivated = setCurrentControllersPanel;
Expand Down

0 comments on commit 0f4b421

Please sign in to comment.