show the available controls in a panel over the world
This commit is contained in:
@@ -1156,6 +1156,12 @@ ControlContext GameWorldView::getControlContext() const
|
||||
return context;
|
||||
}
|
||||
|
||||
QString GameWorldView::getActiveBlueprintName() const
|
||||
{
|
||||
if (!m_buildMode.isBlueprintMode()) { return QString(); }
|
||||
return m_buildMode.getBlueprint().name;
|
||||
}
|
||||
|
||||
void GameWorldView::mousePressEvent(QMouseEvent* event)
|
||||
{
|
||||
const WorldCoordinates coordinates = getCoordinates();
|
||||
|
||||
Reference in New Issue
Block a user