Integrating latest 47acbe8

This commit is contained in:
alexpete
2021-03-25 13:57:57 -07:00
parent 448c549698
commit 75dc720198
10312 changed files with 2711566 additions and 671451 deletions
+2 -2
View File
@@ -43,7 +43,7 @@ CAxisGizmo::CAxisGizmo(CBaseObject* object)
SetFlags(EGIZMO_SELECTABLE | EGIZMO_TRANSFORM_MANIPULATOR);
m_axisGizmoCount++;
m_object->AddEventListener(functor(*this, &CAxisGizmo::OnObjectEvent));
m_object->AddEventListener(this);
m_localTM.SetIdentity();
m_parentTM.SetIdentity();
@@ -72,7 +72,7 @@ CAxisGizmo::~CAxisGizmo()
{
if (m_object)
{
m_object->RemoveEventListener(functor(*this, &CAxisGizmo::OnObjectEvent));
m_object->RemoveEventListener(this);
}
m_axisGizmoCount--;
}