File tree 3 files changed +11
-5
lines changed
3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ description = "A high performance Python interface for communicating with RLBot
8
8
dynamic = [" version" ]
9
9
requires-python = " >= 3.11"
10
10
dependencies = [
11
- " rlbot_flatbuffers~=0.14.6 " ,
11
+ " rlbot_flatbuffers~=0.15.0 " ,
12
12
" psutil==7.*" ,
13
13
]
14
14
readme = " README.md"
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ def draw(
146
146
),
147
147
):
148
148
if not self .is_rendering ():
149
- self ._logger .warning (
149
+ self ._logger .error (
150
150
"Attempted to draw without a render group."
151
151
"Please call `begin_rendering` first, and then `end_rendering` after."
152
152
)
@@ -237,7 +237,8 @@ def draw_rect_2d(
237
237
width : float ,
238
238
height : float ,
239
239
color : flat .Color ,
240
- centered : bool = True ,
240
+ h_align : flat .TextHAlign = flat .TextHAlign .Left ,
241
+ v_align : flat .TextVAlign = flat .TextVAlign .Top ,
241
242
):
242
243
"""
243
244
Draws a rectangle anchored in 2d space.
@@ -251,7 +252,8 @@ def draw_rect_2d(
251
252
width ,
252
253
height ,
253
254
color ,
254
- centered ,
255
+ h_align ,
256
+ v_align ,
255
257
)
256
258
)
257
259
@@ -261,6 +263,8 @@ def draw_rect_3d(
261
263
width : float ,
262
264
height : float ,
263
265
color : flat .Color ,
266
+ h_align : flat .TextHAlign = flat .TextHAlign .Left ,
267
+ v_align : flat .TextVAlign = flat .TextVAlign .Top ,
264
268
):
265
269
"""
266
270
Draws a rectangle anchored in 3d space.
@@ -273,5 +277,7 @@ def draw_rect_3d(
273
277
width ,
274
278
height ,
275
279
color ,
280
+ h_align ,
281
+ v_align ,
276
282
)
277
283
)
Original file line number Diff line number Diff line change 1
- __version__ = "2.0.0-beta.38 "
1
+ __version__ = "2.0.0-beta.39 "
You can’t perform that action at this time.
0 commit comments