summaryrefslogtreecommitdiff
path: root/src/createcalls.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/createcalls.cpp')
-rw-r--r--src/createcalls.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/createcalls.cpp b/src/createcalls.cpp
index fc50b6e..56cf4d8 100644
--- a/src/createcalls.cpp
+++ b/src/createcalls.cpp
@@ -690,6 +690,10 @@ Property_IsGraphSelected(memory *Memory, property_channel *Property, uint16 *Arr
return 0;
}
+// TODO(fox): It seems like duping many layers at once causes this to take up
+// exponentially more data on the undo tree than it should. Rewrite the loop to
+// change the offsets before duping, taking into account all dupes, like what
+// the sorting code does.
// TODO(fox): Add different modes (all dupes on top, each dupe above its layer, two for bottom)
static void
Sort_OffsetDupes(memory *Memory, sorted_layer_array *SortedLayerStart, block_layer *StartLayer,