mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 14:53:24 +02:00
Add Entities.canAdjustLocksChanged
This commit is contained in:
parent
64cb517856
commit
9a302eebed
2 changed files with 4 additions and 0 deletions
libraries/entities/src
|
@ -19,6 +19,8 @@ EntityScriptingInterface::EntityScriptingInterface() :
|
|||
_nextCreatorTokenID(0),
|
||||
_entityTree(NULL)
|
||||
{
|
||||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
connect(nodeList.data(), &NodeList::canAdjustLocksChanged, this, &EntityScriptingInterface::canAdjustLocksChanged);
|
||||
}
|
||||
|
||||
void EntityScriptingInterface::queueEntityMessage(PacketType packetType,
|
||||
|
|
|
@ -111,6 +111,8 @@ public slots:
|
|||
signals:
|
||||
void entityCollisionWithEntity(const EntityItemID& idA, const EntityItemID& idB, const Collision& collision);
|
||||
|
||||
void canAdjustLocksChanged(bool canAdjustLocks);
|
||||
|
||||
void mousePressOnEntity(const EntityItemID& entityItemID, const MouseEvent& event);
|
||||
void mouseMoveOnEntity(const EntityItemID& entityItemID, const MouseEvent& event);
|
||||
void mouseReleaseOnEntity(const EntityItemID& entityItemID, const MouseEvent& event);
|
||||
|
|
Loading…
Reference in a new issue