소스 검색

Remove unused ofs variable

theludovyc 5 년 전
부모
커밋
875c994109
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      scene/gui/tree.cpp

+ 0 - 7
scene/gui/tree.cpp

@@ -3045,13 +3045,6 @@ void Tree::_notification(int p_what) {
 			draw_item(Point2(), draw_ofs, draw_size, root);
 		}
 
-		int ofs = 0;
-
-		for (int i = 0; i < (columns.size() - 1 - 1); i++) {
-
-			ofs += get_column_width(i);
-		}
-
 		if (show_column_titles) {
 
 			//title buttons