mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 12:23:24 +02:00
Fix rotation overlay size with multi-selection
This commit is contained in:
parent
52dacaab02
commit
078d14ae58
1 changed files with 2 additions and 2 deletions
|
@ -624,8 +624,8 @@ SelectionDisplay = (function () {
|
|||
|
||||
}
|
||||
|
||||
var diagonal = (Vec3.length(properties.dimensions) / 2) * 1.1;
|
||||
var halfDimensions = Vec3.multiply(properties.dimensions, 0.5);
|
||||
var diagonal = (Vec3.length(selectionManager.worldDimensions) / 2) * 1.1;
|
||||
var halfDimensions = Vec3.multiply(selectionManager.worldDimensions, 0.5);
|
||||
innerRadius = diagonal;
|
||||
outerRadius = diagonal * 1.15;
|
||||
var innerActive = false;
|
||||
|
|
Loading…
Reference in a new issue