From e2e0e630ca51a4fd80a8186c5795c96693a2815b Mon Sep 17 00:00:00 2001 From: Fox Caminiti Date: Sun, 5 Feb 2023 14:04:50 -0500 Subject: fully working comp-recursive transforms! --- src/imgui_ui_properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/imgui_ui_properties.cpp') diff --git a/src/imgui_ui_properties.cpp b/src/imgui_ui_properties.cpp index c427971..43c4a79 100644 --- a/src/imgui_ui_properties.cpp +++ b/src/imgui_ui_properties.cpp @@ -276,7 +276,7 @@ ImGui_PropertiesPanel(project_data *File, project_state *State, ui *UI, memory * if (State->MostRecentlySelectedLayer > -1) { Layer = (block_layer *)Memory_Block_AddressAtIndex(Memory, F_Layers, State->MostRecentlySelectedLayer, 0); sorted_comp_array SortedCompStart = SortedCompArray[Layer->Block_Composition_Index]; - sorted_layer_array *SortedLayerStart = Sorted_GetLayerStart(SortedLayerArray, &SortedCompStart, Layer->Block_Composition_Index); + sorted_layer_array *SortedLayerStart = Sorted_GetLayerStart(SortedLayerArray, SortedCompArray, Layer->Block_Composition_Index); SortedLayer = &SortedLayerStart[State->MostRecentlySelectedLayer]; if (!Layer->Occupied) Display = 0; -- cgit v1.2.3