diff options
Diffstat (limited to 'src/layer.cpp')
-rw-r--r-- | src/layer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layer.cpp b/src/layer.cpp index c158466..591487e 100644 --- a/src/layer.cpp +++ b/src/layer.cpp @@ -193,6 +193,7 @@ Layer_Select(memory *Memory, project_state *State, int32 i) block_layer *Layer = (block_layer *)Memory_Block_AddressAtIndex(Memory, F_Layers, i); Layer->IsSelected = true; State->MostRecentlySelectedLayer = i; + State->Interact_Transform = {}; State->RecentSelectionType = selection_type_layer; } @@ -212,6 +213,7 @@ Layer_DeselectAll(project_data *File, project_state *State, memory *Memory) { block_layer *Layer = (block_layer *)Memory_Block_AddressAtIndex(Memory, F_Layers, i); Layer->IsSelected = false; } + State->Interact_Transform = {}; State->MostRecentlySelectedLayer = -1; } |