diff --git a/App.config b/App.config
index 337f17b..acaa339 100644
--- a/App.config
+++ b/App.config
@@ -205,6 +205,15 @@
True
+
+ 5
+
+
+ 10
+
+
+ False
+
diff --git a/Properties/Settings.Designer.cs b/Properties/Settings.Designer.cs
index b7ba158..2969597 100644
--- a/Properties/Settings.Designer.cs
+++ b/Properties/Settings.Designer.cs
@@ -746,5 +746,41 @@ namespace CodeWalker.Properties {
this["Deferred"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("5")]
+ public float SnapRotationDegrees {
+ get {
+ return ((float)(this["SnapRotationDegrees"]));
+ }
+ set {
+ this["SnapRotationDegrees"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("10")]
+ public float SnapGridSize {
+ get {
+ return ((float)(this["SnapGridSize"]));
+ }
+ set {
+ this["SnapGridSize"] = value;
+ }
+ }
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("False")]
+ public bool JumpListInitialised {
+ get {
+ return ((bool)(this["JumpListInitialised"]));
+ }
+ set {
+ this["JumpListInitialised"] = value;
+ }
+ }
}
}
diff --git a/Properties/Settings.settings b/Properties/Settings.settings
index 819c463..f3bf8fc 100644
--- a/Properties/Settings.settings
+++ b/Properties/Settings.settings
@@ -195,5 +195,14 @@
True
+
+ 5
+
+
+ 10
+
+
+ False
+
\ No newline at end of file
diff --git a/WorldForm.cs b/WorldForm.cs
index d3e7fc2..6596f7c 100644
--- a/WorldForm.cs
+++ b/WorldForm.cs
@@ -4495,6 +4495,9 @@ namespace CodeWalker
BoundsRangeTrackBar.Value = s.BoundsRange;
ErrorConsoleCheckBox.Checked = s.ShowErrorConsole;
StatusBarCheckBox.Checked = s.ShowStatusBar;
+ SnapGridSizeUpDown.Value = (decimal)s.SnapGridSize;
+ SetRotationSnapping(s.SnapRotationDegrees);
+
EnableModsCheckBox.Checked = s.EnableMods;
DlcLevelComboBox.Text = s.DLC;
@@ -4530,6 +4533,9 @@ namespace CodeWalker
s.BoundsRange = BoundsRangeTrackBar.Value;
s.ShowErrorConsole = ErrorConsoleCheckBox.Checked;
s.ShowStatusBar = StatusBarCheckBox.Checked;
+ s.SnapRotationDegrees = (float)SnapAngleUpDown.Value;
+ s.SnapGridSize = (float)SnapGridSizeUpDown.Value;
+
//additional settings from gamefilecache...
s.EnableMods = gameFileCache.EnableMods;