소스 검색

Merge pull request #2629 from firefly2442/float-to-bool

float to bool variable type, fixes: #2478
Juan Linietsky 9 년 전
부모
커밋
e82afd9c50
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      servers/visual/rasterizer.h

+ 1 - 1
servers/visual/rasterizer.h

@@ -693,7 +693,7 @@ public:
 			Rect2 rect;
 			RID texture;
 			float margin[4];
-			float draw_center;
+			bool draw_center;
 			Color color;
 			CommandStyle() { draw_center=true; type = TYPE_STYLE; }
 		};