internal void InteractProperty(int16 Index, project_data *File, project_state *State, bool32 Ended, real32 Value, memory *Memory, cache_pool *Cache) { for (int r = 0; r < State->NumberOfSelectedLayers; r++) { keyframe *Keyframe = InsertKeyframeAtFrame(&File->LayerPTR[State->SelectedLayerIndex[r]]->Property[Index], *State, File->CurrentFrame, Memory, Cache); Keyframe->Value.f += Value; } // Cache->Interact = Active; // Cache->InteractIndex = State->SelectedLayerIndex[0]; if (Ended) { State->TranslateScaleRotate = 0; Cache->Interact = Clear; } State->UpdateFrame = true; // Cache->Frame[File->CurrentFrame].Cached = false; }