Improve node to svg conversion.
This commit is contained in:
parent
64f0b3e77a
commit
26ecae46b3
22 changed files with 403 additions and 126 deletions
|
@ -47,6 +47,8 @@ void Scene::setBackgroundColor(const Color& color)
|
|||
|
||||
void Scene::updateNode(AbstractVisualNode* node)
|
||||
{
|
||||
node->update(mSceneInfo.get());
|
||||
|
||||
for (auto child : node->getChildren())
|
||||
{
|
||||
if (child->getIsVisible())
|
||||
|
@ -55,8 +57,6 @@ void Scene::updateNode(AbstractVisualNode* node)
|
|||
}
|
||||
}
|
||||
|
||||
node->update(mSceneInfo.get());
|
||||
|
||||
for (std::size_t idx=0; idx< node->getNumSceneItems(); idx++)
|
||||
{
|
||||
if (auto item = node->getSceneItem(idx))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue