Audio/Sound: Fix copy constructor not copying looping state
This commit is contained in:
parent
ae2fd0069a
commit
c9904e7d20
|
|
@ -82,6 +82,7 @@ Nazara Engine:
|
||||||
- Fix copy and move semantic on HandledObject and ObjectHandle
|
- Fix copy and move semantic on HandledObject and ObjectHandle
|
||||||
- Add support for emissive and normal maps in .mtl loader using custom keywords ([map_]emissive and [map_]normal)
|
- Add support for emissive and normal maps in .mtl loader using custom keywords ([map_]emissive and [map_]normal)
|
||||||
- Music, Sound and SoundEmitter are now movable
|
- Music, Sound and SoundEmitter are now movable
|
||||||
|
- Fixed Sound copy which was not copying looping state
|
||||||
|
|
||||||
Nazara Development Kit:
|
Nazara Development Kit:
|
||||||
- Added ImageWidget (#139)
|
- Added ImageWidget (#139)
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@ namespace Nz
|
||||||
SoundEmitter(sound)
|
SoundEmitter(sound)
|
||||||
{
|
{
|
||||||
SetBuffer(sound.m_buffer);
|
SetBuffer(sound.m_buffer);
|
||||||
|
EnableLooping(sound.IsLooping());
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue