Skip to content

Commit

Permalink
Do not continually remove TILTBRUSH_STEAMVRPRESENT
Browse files Browse the repository at this point in the history
Change-Id: I6b26a514ddf10b512203db9300e0eb123155d201
  • Loading branch information
dubois committed Jun 2, 2017
1 parent 195850e commit 4ab6373
Showing 1 changed file with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,9 @@ static ExamplesSettings() {
}

static void OnProjectWindowChanged() {
ClearSymbols ();
}
static void ClearSymbols() {
EnsureSymbol(DEFINE_STEAM, false);
EnsureSymbol(DEFINE_CINEMADIRECTOR, false);
EnsureSymbols();
}

static void EnsureSymbols() {
m_SteamPresent = NamespaceExists("Valve.VR");
EnsureSymbol(DEFINE_STEAM, m_SteamPresent);
Expand Down Expand Up @@ -76,4 +73,4 @@ static void EnsureSymbol(string Symbol, bool Active = false) {
}

}
}
}

0 comments on commit 4ab6373

Please sign in to comment.