mirror of
https://github.com/overte-org/overte.git
synced 2025-07-23 07:04:00 +02:00
fix loop index change
This commit is contained in:
parent
7621ba180d
commit
ececd1c60f
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ SelectionManager = (function() {
|
||||||
var brn = properties.boundingBox.brn;
|
var brn = properties.boundingBox.brn;
|
||||||
var tfl = properties.boundingBox.tfl;
|
var tfl = properties.boundingBox.tfl;
|
||||||
|
|
||||||
for (var i = 0; i < that.selections.length; i++) {
|
for (var i = 1; i < that.selections.length; i++) {
|
||||||
properties = Entities.getEntityProperties(that.selections[i]);
|
properties = Entities.getEntityProperties(that.selections[i]);
|
||||||
var bb = properties.boundingBox;
|
var bb = properties.boundingBox;
|
||||||
brn.x = Math.min(bb.brn.x, brn.x);
|
brn.x = Math.min(bb.brn.x, brn.x);
|
||||||
|
|
Loading…
Reference in a new issue