mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
Merge pull request #13770 from huffman/fix/edit-duplicate-fix
Fix duplicating multiple entities causing infinite looping
This commit is contained in:
commit
34697b6b07
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