summaryrefslogtreecommitdiff
path: root/editor/plugins/sprite_frames_editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/sprite_frames_editor_plugin.h')
-rw-r--r--editor/plugins/sprite_frames_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/sprite_frames_editor_plugin.h b/editor/plugins/sprite_frames_editor_plugin.h
index d31ce84d09..3230228fdd 100644
--- a/editor/plugins/sprite_frames_editor_plugin.h
+++ b/editor/plugins/sprite_frames_editor_plugin.h
@@ -105,7 +105,7 @@ class SpriteFramesEditor : public HSplitContainer {
EditorFileDialog *file_split_sheet = nullptr;
Set<int> frames_selected;
Set<int> frames_toggled_by_mouse_hover;
- int last_frame_selected;
+ int last_frame_selected = 0;
float scale_ratio;
int thumbnail_default_size;