Core/ObjectHandle: Fix Reset(ObjectHandle&&) not clearing the pointer
This commit is contained in:
parent
d83c12c2d3
commit
e4d547316d
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue