Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine
This commit is contained in:
@@ -314,7 +314,8 @@ namespace Ndk
|
|||||||
|
|
||||||
m_systems = std::move(world.m_systems);
|
m_systems = std::move(world.m_systems);
|
||||||
for (const auto& systemPtr : m_systems)
|
for (const auto& systemPtr : m_systems)
|
||||||
systemPtr->SetWorld(this);
|
if (systemPtr)
|
||||||
|
systemPtr->SetWorld(this);
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -396,6 +396,9 @@ namespace Nz
|
|||||||
m_lines.back().bounds.ExtendTo(m_glyphs.back().bounds);
|
m_lines.back().bounds.ExtendTo(m_glyphs.back().bounds);
|
||||||
|
|
||||||
m_bounds.Set(Rectf(std::floor(m_workingBounds.x), std::floor(m_workingBounds.y), std::ceil(m_workingBounds.width), std::ceil(m_workingBounds.height)));
|
m_bounds.Set(Rectf(std::floor(m_workingBounds.x), std::floor(m_workingBounds.y), std::ceil(m_workingBounds.width), std::ceil(m_workingBounds.height)));
|
||||||
|
|
||||||
|
m_colorUpdated = true;
|
||||||
|
m_glyphUpdated = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SimpleTextDrawer::OnFontAtlasLayerChanged(const Font* font, AbstractImage* oldLayer, AbstractImage* newLayer)
|
void SimpleTextDrawer::OnFontAtlasLayerChanged(const Font* font, AbstractImage* oldLayer, AbstractImage* newLayer)
|
||||||
|
|||||||
Reference in New Issue
Block a user