File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Expand file tree Collapse file tree 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
88dynamic = [" version" ]
99requires-python = " >= 3.11"
1010dependencies = [
11- " rlbot_flatbuffers~=0.14.6 " ,
11+ " rlbot_flatbuffers~=0.15.0 " ,
1212 " psutil==7.*" ,
1313]
1414readme = " README.md"
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ def draw(
146146 ),
147147 ):
148148 if not self .is_rendering ():
149- self ._logger .warning (
149+ self ._logger .error (
150150 "Attempted to draw without a render group."
151151 "Please call `begin_rendering` first, and then `end_rendering` after."
152152 )
@@ -237,7 +237,8 @@ def draw_rect_2d(
237237 width : float ,
238238 height : float ,
239239 color : flat .Color ,
240- centered : bool = True ,
240+ h_align : flat .TextHAlign = flat .TextHAlign .Left ,
241+ v_align : flat .TextVAlign = flat .TextVAlign .Top ,
241242 ):
242243 """
243244 Draws a rectangle anchored in 2d space.
@@ -251,7 +252,8 @@ def draw_rect_2d(
251252 width ,
252253 height ,
253254 color ,
254- centered ,
255+ h_align ,
256+ v_align ,
255257 )
256258 )
257259
@@ -261,6 +263,8 @@ def draw_rect_3d(
261263 width : float ,
262264 height : float ,
263265 color : flat .Color ,
266+ h_align : flat .TextHAlign = flat .TextHAlign .Left ,
267+ v_align : flat .TextVAlign = flat .TextVAlign .Top ,
264268 ):
265269 """
266270 Draws a rectangle anchored in 3d space.
@@ -273,5 +277,7 @@ def draw_rect_3d(
273277 width ,
274278 height ,
275279 color ,
280+ h_align ,
281+ v_align ,
276282 )
277283 )
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