mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 18:39:23 +02:00
Merge pull request #4593 from AndrewMeadows/isentropic
Fix bug where change of entity dimensions would not update physics for others
This commit is contained in:
commit
285cfe1f46
1 changed files with 2 additions and 2 deletions
|
@ -524,9 +524,9 @@ int EntityItem::readEntityDataFromBuffer(const unsigned char* data, int bytesLef
|
|||
}
|
||||
} else {
|
||||
if (useMeters) {
|
||||
READ_ENTITY_PROPERTY_SETTER(PROP_DIMENSIONS, glm::vec3, setDimensions);
|
||||
READ_ENTITY_PROPERTY_SETTER(PROP_DIMENSIONS, glm::vec3, updateDimensions);
|
||||
} else {
|
||||
READ_ENTITY_PROPERTY_SETTER(PROP_DIMENSIONS, glm::vec3, setDimensionsInDomainUnits);
|
||||
READ_ENTITY_PROPERTY_SETTER(PROP_DIMENSIONS, glm::vec3, updateDimensionsInDomainUnits);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue