Browse Source

Merge pull request #3217 from neikeq/asframes_patch

Disable renaming SpriteFrames
Rémi Verschelde 9 năm trước cách đây
mục cha
commit
9849df9438
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      tools/editor/plugins/sprite_frames_editor_plugin.cpp

+ 0 - 1
tools/editor/plugins/sprite_frames_editor_plugin.cpp

@@ -338,7 +338,6 @@ void SpriteFramesEditor::_update_library() {
 
 		TreeItem *ti = tree->create_item(root);
 		ti->set_cell_mode(0,TreeItem::CELL_MODE_STRING);
-		ti->set_editable(0,true);
 		ti->set_selectable(0,true);
 
 		if (frames->get_frame(i).is_null()) {