age support fix
This commit is contained in:
@@ -434,7 +434,17 @@ class Marker:
|
||||
)
|
||||
return value
|
||||
|
||||
return {"x0": None, "y0": None, "x1": None, "y1": None, "cx": None, "cy": None, "visible": 0, "type": None, "age": None}
|
||||
return {
|
||||
"x0": None,
|
||||
"y0": None,
|
||||
"x1": None,
|
||||
"y1": None,
|
||||
"cx": None,
|
||||
"cy": None,
|
||||
"visible": 0,
|
||||
"type": None,
|
||||
"age": None,
|
||||
}
|
||||
|
||||
def modify_point(self, position, x, y):
|
||||
"""position: tl topleft, br bottomright, c center"""
|
||||
@@ -627,7 +637,7 @@ class World:
|
||||
point_index = self.point_index
|
||||
|
||||
def i_point(x0=None, y0=None, x1=None, y1=None, t=None, visible=None, age=None):
|
||||
return {"x0": x0, "y0": y0, "x1": x1, "y1": y1, "type": t, "visible": visible, "age"=age}
|
||||
return {"x0": x0, "y0": y0, "x1": x1, "y1": y1, "type": t, "visible": visible, "age": age}
|
||||
|
||||
def point2array(p):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user