mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:24:07 +02:00
don't restrict edit properties of myAvatarEntity
This commit is contained in:
parent
9d92546a8b
commit
4e6a647718
1 changed files with 1 additions and 1 deletions
|
@ -821,7 +821,7 @@ QUuid EntityScriptingInterface::editEntity(const QUuid& id, const EntityItemProp
|
|||
// flag for simulation ownership, or upgrade existing ownership priority
|
||||
// (actual bids for simulation ownership are sent by the PhysicalEntitySimulation)
|
||||
entity->upgradeScriptSimulationPriority(properties.computeSimulationBidPriority());
|
||||
if (simulationOwner.getID() == sessionID) {
|
||||
if (entity->isMyAvatarEntity() || simulationOwner.getID() == sessionID) {
|
||||
// we own the simulation --> copy ALL restricted properties
|
||||
properties.copySimulationRestrictedProperties(entity);
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue