Merge pull request #13770 from huffman/fix/edit-duplicate-fix

Fix duplicating multiple entities causing infinite looping
This commit is contained in:
John Conklin II 2018-08-09 09:07:37 -07:00 committed by GitHub
commit 34697b6b07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;