# Conflicts:
#	src/Game/Game.cpp
This commit is contained in:
2016-01-14 18:04:13 +01:00
parent a8f7d5f6b9
commit 627108c6ee
7 changed files with 126 additions and 124 deletions
+3
View File
@@ -124,6 +124,9 @@ bool EditorSystem::OnMouseMove(const Events::MouseMove& e)
if (m_Selection == 0) {
return false;
}
if (m_Camera == nullptr) {
return false;
}
auto widgetTransform = m_World->GetComponent(m_Widget, "Transform");
glm::vec3 widgetOrientation = widgetTransform["Orientation"];