Skip to content
Snippets Groups Projects

Real space for layer editor

Merged m.puchner requested to merge RealSpaceForLayerEditor into develop
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -48,7 +48,11 @@ ParticleLayoutForm::ParticleLayoutForm(LayerForm* parent, ParticleLayoutItem* la
@@ -48,7 +48,11 @@ ParticleLayoutForm::ParticleLayoutForm(LayerForm* parent, ParticleLayoutItem* la
m_removeAction = ActionFactory::createRemoveAction(
m_removeAction = ActionFactory::createRemoveAction(
this, "particle layout", [=] { ec->removeLayout(parent, layoutItem); });
this, "particle layout", [=] { ec->removeLayout(parent, layoutItem); });
 
auto* showInRealSpaceAction = ActionFactory::createShowInRealSpaceAction(
 
this, "particle layout", [=] { ec->requestViewInRealSpace(layoutItem); });
 
auto* collapser = GroupBoxCollapser::installIntoGroupBox(this);
auto* collapser = GroupBoxCollapser::installIntoGroupBox(this);
 
collapser->addAction(showInRealSpaceAction);
collapser->addAction(m_removeAction);
collapser->addAction(m_removeAction);
m_layout = layouter.layout();
m_layout = layouter.layout();
}
}
Loading