Editor code: tidy up BOOLs,NULLs and overrides pt2.
A few 'typedefs' replaced by 'using's This shouldn't have any functional changes at all, just c++17 modernization It's a part 2 of a split #2847 Signed-off-by: Nemerle <nemerle5+git@gmail.com>
This commit is contained in:
@@ -37,8 +37,8 @@ CLineGizmo::~CLineGizmo()
|
||||
{
|
||||
m_object[1]->RemoveEventListener(this);
|
||||
}
|
||||
m_object[0] = 0;
|
||||
m_object[1] = 0;
|
||||
m_object[0] = nullptr;
|
||||
m_object[1] = nullptr;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
@@ -164,7 +164,7 @@ void CLineGizmo::SetName(const char* sName)
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
bool CLineGizmo::HitTest([[maybe_unused]] HitContext& hc)
|
||||
{
|
||||
return 0;
|
||||
return false;
|
||||
/*
|
||||
if (hc.distanceTollerance != 0)
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user