Skip to content

Commit 18bd5c9

Browse files
committed
Ignore the "EditingTexture" when saving / loading JSON. This fixes a bug where opening a saved file and then closing the image still leaves the image "open" with the regions editable
1 parent 60f47bf commit 18bd5c9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Data/DynamicInputPack.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public bool PreserveAspectRatio
6464
/// The current texture being edited
6565
/// </summary>
6666
private DynamicInputTexture _editing_texture;
67+
[JsonIgnore]
6768
public DynamicInputTexture EditingTexture
6869
{
6970
get

0 commit comments

Comments
 (0)