mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 02:03:57 +02:00
Fix duplicating multiple entities causing infinite looping
This commit is contained in:
parent
079b276c2b
commit
61fdce9c11
1 changed files with 2 additions and 2 deletions
|
@ -260,8 +260,8 @@ SelectionManager = (function() {
|
|||
|
||||
// Re-apply actions from the original entity
|
||||
var actionIDs = Entities.getActionIDs(properties.id);
|
||||
for (var i = 0; i < actionIDs.length; ++i) {
|
||||
var actionID = actionIDs[i];
|
||||
for (var j = 0; j < actionIDs.length; ++j) {
|
||||
var actionID = actionIDs[j];
|
||||
var actionArguments = Entities.getActionArguments(properties.id, actionID);
|
||||
if (actionArguments) {
|
||||
var type = actionArguments.type;
|
||||
|
|
Loading…
Reference in a new issue