Core/ObjectHandle: Fix Reset(ObjectHandle&&) not clearing the pointer
This commit is contained in:
@@ -134,6 +134,7 @@ Nazara Engine:
|
|||||||
- Added Unicode Data downloader/parser
|
- Added Unicode Data downloader/parser
|
||||||
- Integrated Unicode Data
|
- Integrated Unicode Data
|
||||||
- Added CullingList::FillWithAllEntries method
|
- Added CullingList::FillWithAllEntries method
|
||||||
|
- Fixed ObjectHandle movement sometimes not resetting its internal pointer
|
||||||
|
|
||||||
Nazara Development Kit:
|
Nazara Development Kit:
|
||||||
- Added ImageWidget (#139)
|
- Added ImageWidget (#139)
|
||||||
|
|||||||
@@ -140,6 +140,8 @@ namespace Nz
|
|||||||
handle.m_object = nullptr;
|
handle.m_object = nullptr;
|
||||||
object->UpdateHandle(&handle, this);
|
object->UpdateHandle(&handle, this);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
m_object = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|||||||
Reference in New Issue
Block a user