Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions Editor/EditorCore/CutTool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
namespace UnityEditor.ProBuilder
{
[EditorTool("Cut Tool", typeof(ProBuilderMesh), typeof(PositionToolContext))]
[Icon("Packages/com.unity.probuilder/Editor Default Resources/Icons/Toolbar/CutTool.png")]
class CutTool : EditorTool
{
ProBuilderMesh m_Mesh;
Expand Down Expand Up @@ -85,12 +86,6 @@ public CutVertexData(Vector3 position, Vector3 normal, VertexTypes types = Verte

Color m_CurrentHandleColor = k_HandleColor;

GUIContent m_IconContent;
public override GUIContent toolbarIcon
{
get { return m_IconContent; }
}

//Handles and point placement
int m_ControlId;
bool m_PlacingPoint;
Expand Down Expand Up @@ -169,13 +164,6 @@ public override bool IsAvailable()

void OnEnable()
{
m_IconContent = new GUIContent()
{
image = IconUtility.GetIcon("Toolbar/CutTool"),
text = "Cut Tool",
tooltip = "Cut Tool"
};

s_HandleColorUseExistingVertex = Handles.selectedColor;
s_HandleColorAddVertexOnEdge = Handles.selectedColor;

Expand Down
Loading