summaryrefslogtreecommitdiff
path: root/src/imgui_ui_properties.cpp
diff options
context:
space:
mode:
authorFox Caminiti <fox@foxcam.net>2023-02-05 14:04:50 -0500
committerFox Caminiti <fox@foxcam.net>2023-02-05 14:04:50 -0500
commite2e0e630ca51a4fd80a8186c5795c96693a2815b (patch)
tree51e473a4869e7eea3fc18bb42851fb669d6b947f /src/imgui_ui_properties.cpp
parent04a91de8f8432f3cff461983db3d12d24e1a4c1c (diff)
fully working comp-recursive transforms!
Diffstat (limited to 'src/imgui_ui_properties.cpp')
-rw-r--r--src/imgui_ui_properties.cpp2
1 files changed, 1 insertions, 1 deletions
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;