We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e567f49 commit 63f7e4dCopy full SHA for 63f7e4d
editor/plugins/sprite_frames_editor_plugin.cpp
@@ -1318,6 +1318,10 @@ void SpriteFramesEditor::_frame_list_gui_input(const Ref<InputEvent> &p_event) {
1318
Point2 pos = mb->get_position();
1319
right_clicked_frame = frame_list->get_item_at_position(pos, true);
1320
if (right_clicked_frame != -1) {
1321
+ Ref<Texture2D> tex = frames->get_frame_texture(edited_anim, right_clicked_frame);
1322
+ if (tex.is_null()) {
1323
+ return;
1324
+ }
1325
if (!menu) {
1326
menu = memnew(PopupMenu);
1327
add_child(menu);
0 commit comments