Skip to content

Commit

Permalink
fix(SDKManager): ignore enabled state for symbol management
Browse files Browse the repository at this point in the history
Changes in the SDK Manager's inspector didn't lead to manage the
scripting define symbols. This fix changes that so neither the enabled
state of the SDK Manager script nor its game object influence the
management of the symbols for changes done in the inspector.
  • Loading branch information
Christopher - Marcel Böddecker committed Mar 15, 2017
1 parent ca7504b commit 689fc7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/VRTK/Editor/VRTK_SDKManagerEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public override void OnInspectorGUI()
if (EditorGUI.EndChangeCheck())
{
serializedObject.ApplyModifiedProperties();
sdkManager.ManageScriptingDefineSymbols(false, false);
sdkManager.ManageScriptingDefineSymbols(false, true);
}

EditorGUI.BeginDisabledGroup(sdkManager.autoManageScriptDefines);
Expand Down

0 comments on commit 689fc7d

Please sign in to comment.