We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ea1b8f commit 6110a2fCopy full SHA for 6110a2f
Projects/Skylicht/Engine/Source/Graphics2D/CCanvas.cpp
@@ -97,8 +97,8 @@ namespace Skylicht
97
if (entity->isVisible() == false)
98
continue;
99
100
+ // update position layout
101
entity->update(camera);
- entity->calcAbsoluteTransform();
102
103
// apply mask
104
entity->applyCurrentMask(entity->getMask());
Projects/Skylicht/Engine/Source/Graphics2D/GUI/CGUIElement.cpp
@@ -246,7 +246,7 @@ namespace Skylicht
246
247
const core::matrix4& CGUIElement::getRelativeTransform(bool forceRecalc)
248
{
249
- if (forceRecalc == true)
+ // if (forceRecalc == true)
250
251
m_relativeTransform.makeIdentity();
252
m_relativeTransform.setRotationDegrees(m_rotation);
0 commit comments