Skip to content

Commit b570b9d

Browse files
committed
Get ready for 2017.1 - remove obsolete ctor for BoxBoundsHandle
1 parent fa13161 commit b570b9d

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Assets/NavMeshComponents/Editor/NavMeshModifierVolumeEditor.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ class NavMeshModifierVolumeEditor : Editor
1717
static Color s_HandleColor = new Color(187f, 138f, 240f, 210f) / 255;
1818
static Color s_HandleColorDisabled = new Color(187f * 0.75f, 138f * 0.75f, 240f * 0.75f, 100f) / 255;
1919

20-
static int s_HandleControlIDHint = typeof(NavMeshModifierVolumeEditor).Name.GetHashCode();
21-
BoxBoundsHandle m_BoundsHandle = new BoxBoundsHandle(s_HandleControlIDHint);
20+
BoxBoundsHandle m_BoundsHandle = new BoxBoundsHandle();
2221

2322
bool editingCollider
2423
{

Assets/NavMeshComponents/Editor/NavMeshSurfaceEditor.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ struct AsyncBakeOperation
5656
static Color s_HandleColorSelected = new Color(127f, 214f, 244f, 210f) / 255;
5757
static Color s_HandleColorDisabled = new Color(127f * 0.75f, 214f * 0.75f, 244f * 0.75f, 100f) / 255;
5858

59-
static int s_HandleControlIDHint = typeof(NavMeshSurfaceEditor).Name.GetHashCode();
60-
BoxBoundsHandle m_BoundsHandle = new BoxBoundsHandle(s_HandleControlIDHint);
59+
BoxBoundsHandle m_BoundsHandle = new BoxBoundsHandle();
6160

6261
bool editingCollider
6362
{

ProjectSettings/ProjectVersion.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
m_EditorVersion: 5.6.0f3
1+
m_EditorVersion: 2017.1.0f3

0 commit comments

Comments
 (0)