mitsuba-renderer / nanogui

Minimalistic C++/Python GUI library for OpenGL, GLES2/3, Metal, and WebAssembly/WebGL
Other
1.52k stars 189 forks source link

Added library refence to allow python binding to cast to std::pair #165

Closed dtourolle closed 2 months ago

dtourolle commented 2 months ago

Solves issue #164 where setting the range of sliders in python results in a casting error. The issue is that the python binding code was missing the reference to:

#include <nanobind/stl/pair.h>

Adding this resolves the issue.

dtourolle commented 2 months ago

Just a polite reminder that this fix is ready to be reviewed.

wjakob commented 2 months ago

Thanks!