mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:43:03 +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
|
// Re-apply actions from the original entity
|
||||||
var actionIDs = Entities.getActionIDs(properties.id);
|
var actionIDs = Entities.getActionIDs(properties.id);
|
||||||
for (var i = 0; i < actionIDs.length; ++i) {
|
for (var j = 0; j < actionIDs.length; ++j) {
|
||||||
var actionID = actionIDs[i];
|
var actionID = actionIDs[j];
|
||||||
var actionArguments = Entities.getActionArguments(properties.id, actionID);
|
var actionArguments = Entities.getActionArguments(properties.id, actionID);
|
||||||
if (actionArguments) {
|
if (actionArguments) {
|
||||||
var type = actionArguments.type;
|
var type = actionArguments.type;
|
||||||
|
|
Loading…
Reference in a new issue