mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-08-19 08:33:55 +02:00
Fix call to getRelativeCenterPosition
This commit is contained in:
parent
acd5495b2a
commit
1f82831bcc
1 changed files with 2 additions and 1 deletions
|
@ -1016,7 +1016,8 @@ SelectionDisplay = (function () {
|
|||
z: dimensions.z * registrationPoint.z,
|
||||
};
|
||||
|
||||
center = getRelativeCenterPosition(position, dimensions, registrationPoint);
|
||||
// Center of entity, relative to registration point
|
||||
center = getRelativeCenterPosition(dimensions, registrationPoint);
|
||||
|
||||
// Distances in world coordinates relative to the registration point
|
||||
var left = -registrationPointDimensions.x;
|
||||
|
|
Loading…
Reference in a new issue