Fix Sprite & GraphicsComponent copy constructors leaving some members uninitialized (#166)

* Fix Sprite copy constructor (corner colors)

* Also add change to changelog

* [GraphicsComponent] Bugfix: Initialize m_scissorRect in copy ctor

* Add change to changelog

* Move GraphicsComponent fix change to correct section in Changelog

* Use default copy constructor for Sprite
This commit is contained in:
S6066
2018-06-17 18:54:02 +02:00
committed by Jérôme Leclercq
parent 8cdc36c948
commit 858d0da5f2
4 changed files with 4 additions and 16 deletions

View File

@@ -115,6 +115,7 @@ Nazara Engine:
- ⚠️ SocketPoller::Wait now returns the number of socket marked as ready, and takes an additional optional parameter allowing to query the last error.
- SocketPoller will now silently ignore "interrupt errors"
- Added RigidBody2D::ClosestPointQuery
- Fix Sprite copy constructor not copying corner colors
Nazara Development Kit:
- Added ImageWidget (#139)
@@ -166,6 +167,7 @@ Nazara Development Kit:
- Add GraphicsComponent:ForEachRenderable method
- Fixed GraphicsComponent reflective material count which was not initialized
- Added PhysicsComponent2D::ClosestPointQuery
- Fix GraphicsComponent copy constructor not copying scissor rect
# 0.4: