Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
kianzarrin committed May 23, 2021
1 parent 01a6c41 commit 6e5a98e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion AdaptiveRoads/AdaptiveRoads.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<PropertyGroup>
<TargetFramework>net35</TargetFramework>
<Deterministic>false</Deterministic>
<AssemblyVersion>2.1.1.*</AssemblyVersion>
<AssemblyVersion>2.1.2.*</AssemblyVersion>
<LangVersion>latest</LangVersion>
<DebugType>full</DebugType>
<DebugSymbols>true</DebugSymbols>
Expand Down
5 changes: 5 additions & 0 deletions AdaptiveRoads/LifeCycle/LifeCycle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public static void Enable() {
Log.Exception(ex);
}
}

#if DEBUG
static void Test() {
return;
LogCalled();
Expand All @@ -76,6 +78,7 @@ static void Test() {
Log.Debug("After Deserialize segment flags :" + man.SegmentBuffer[1].m_flags);
}
}
#endif

public static void HotReload() {
LogCalled();
Expand Down Expand Up @@ -133,13 +136,15 @@ public static void Load() {

ObserverDisposable = GeometryManager.Instance.Subscribe(new ARTMPEObsever());

#if DEBUG
ARTool.Create();

const bool testPWValues = false;
if (testPWValues) {
UI.Debug.PWSelector.Create();
UI.Debug.PWModifier.Create();
}
#endif

Log.Info("LifeCycle.Load() successfull!");
Log.Flush();
Expand Down

0 comments on commit 6e5a98e

Please sign in to comment.