We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37f0c14 commit 67ff848Copy full SHA for 67ff848
lib/controller/python/controller/field.py
@@ -63,7 +63,7 @@ class Field:
63
wb.wb_supervisor_virtual_reality_headset_get_orientation = ctypes.POINTER(ctypes.c_double)
64
65
def __init__(self, ref: ctypes.c_void_p):
66
- self._ref = ref
+ self._ref = ctypes.c_void_p(ref)
67
if self._ref:
68
self.type = wb.wb_supervisor_field_get_type(self._ref)
69
else:
0 commit comments