Skip to content

Commit

Permalink
keep default camera manipulation while alt
Browse files Browse the repository at this point in the history
  • Loading branch information
i-saint committed Jan 6, 2018
1 parent dd96653 commit 74fa726
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -425,8 +425,10 @@ public int HandleEditTools()
BeginEdit();
}

var editMode = m_settings.editMode;
Event e = Event.current;
if (e.alt) return 0;

var editMode = m_settings.editMode;
var et = e.type;
int ret = 0;
bool handled = false;
Expand Down Expand Up @@ -566,6 +568,8 @@ public static Vector3 ToVector(Color n)

int HandleMouseEvent(Event e, EventType et, int id)
{
if (e.alt) return 0;

int ret = 0;
var editMode = m_settings.editMode;
bool handled = false;
Expand Down

0 comments on commit 74fa726

Please # to comment.