diff options
author | Fox Caminiti <fox@foxcam.net> | 2023-01-24 20:16:31 -0500 |
---|---|---|
committer | Fox Caminiti <fox@foxcam.net> | 2023-01-24 20:16:31 -0500 |
commit | 4261c7342d92ab259d563fcf96180905c112ec96 (patch) | |
tree | b30a67fc8acfb8e2229743c8816d23690b5124fd /src/layer.cpp | |
parent | e4acc91f56d9d88b75f60a23bd9662804d7c54b7 (diff) |
functioning smart boxing??
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; } |