From 990bd319c696c2b65fa858b40fd75279fec2a13b Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Fri, 18 Nov 2022 23:40:08 -0500 Subject: txt2img functional --- createcalls.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'createcalls.cpp') 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++; } -- cgit v1.2.3