Commit d9d99c0d authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Fix vertex_surface conversion in graph_draw()

parent 63ab770f
......@@ -156,8 +156,7 @@ def surface_from_prop(surface):
if surface[v] not in surface_map:
sfc = gen_surface(surface[v])
surface_map[surface[v]] = sfc
else:
prop[v] = surface_map[surface[v]]
prop[v] = surface_map[surface[v]]
elif surface.value_type() == "python::object":
if isinstance(surface[v], cairo.Surface):
prop[v] = surface[v]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment