mirror of
https://github.com/thp/pyotherside.git
synced 2025-01-28 23:52:55 +08:00
Fixed API usage in PyGLArea example.
This commit is contained in:
parent
b1cd1781d3
commit
1399072a9c
@ -1011,7 +1011,7 @@ http://qt-project.org/doc/qt-5/qtquick-scenegraph-openglunderqml-example.html.
|
|||||||
|
|
||||||
onTChanged: {
|
onTChanged: {
|
||||||
if (renderer) {
|
if (renderer) {
|
||||||
py.callMethod(renderer, 'set_t', [t], update);
|
py.call(py.getattr(renderer, 'set_t'), [t], update);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user