浏览代码

Delete unused code in TileMapEditor

Andreas Haas 9 年之前
父节点
当前提交
62de01ae3b
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      tools/editor/plugins/tile_map_editor_plugin.cpp

+ 0 - 2
tools/editor/plugins/tile_map_editor_plugin.cpp

@@ -1214,8 +1214,6 @@ void TileMapEditor::_tileset_settings_changed() {
 
 void TileMapEditor::_icon_size_changed(float p_value) {
 	if (node) {
-		//Size2 size = node->get_cell_size() * p_value;
-		//palette->set_min_icon_size(size + Size2(4, 0)); //4px gap between tiles
 		palette->set_icon_scale(p_value);
 		_update_palette();
 	}