mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 15:13:41 +02:00
expose getPlaceName() as placename
Nice for scripts to get the placename. Nice for us, anyways.
This commit is contained in:
parent
f8f99721c3
commit
5c15b52040
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ class AddressManager : public QObject, public Dependency {
|
|||
Q_PROPERTY(QString protocol READ getProtocol)
|
||||
Q_PROPERTY(QString hostname READ getHost)
|
||||
Q_PROPERTY(QString pathname READ currentPath)
|
||||
Q_PROPERTY(QString placename READ getPlaceName)
|
||||
public:
|
||||
Q_INVOKABLE QString protocolVersion();
|
||||
using PositionGetter = std::function<glm::vec3()>;
|
||||
|
|
Loading…
Reference in a new issue