summaryrefslogtreecommitdiff
path: root/createcalls.cpp
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2022-11-18 23:40:08 -0500
committerFox Caminiti <fox@foxcam.net>2022-11-18 23:40:08 -0500
commit990bd319c696c2b65fa858b40fd75279fec2a13b (patch)
tree0ba0e29e2a1af31e7257d3cc48198f244415d120 /createcalls.cpp
parentbb4d634962cdf97affd041a81b12c3d2c8d46bf7 (diff)
txt2img functional
Diffstat (limited to 'createcalls.cpp')
-rw-r--r--createcalls.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/createcalls.cpp b/createcalls.cpp
index 85faa3c..e88e39f 100644
--- a/createcalls.cpp
+++ b/createcalls.cpp
@@ -266,7 +266,7 @@ void Clipboard_Store(project_data *File, project_state *State, memory *Memory, s
for (int p = 0; p < Property->Keyframe_Count; p++) {
bezier_point *PointAddress = Bezier_LookupAddress(Memory, Property, ArrayLocation[p]);
if (PointAddress->IsSelected) {
- Arbitrary_WriteInto((uint8 *)PointAddress, (uint8 *)State->ClipboardBuffer + ClipboardPos, sizeof(bezier_point));
+ Memory_Copy((uint8 *)State->ClipboardBuffer + ClipboardPos, (uint8 *)PointAddress, sizeof(bezier_point));
ClipboardPos += sizeof(bezier_point);
Channel->KeyframeCount++;
}