mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +05:00
fix tuple creation in return color
This commit is contained in:
parent
c61753d89d
commit
9b44069e54
@ -610,7 +610,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
|||||||
[](const FaceDescriptor& self)
|
[](const FaceDescriptor& self)
|
||||||
{
|
{
|
||||||
auto sc = self.SurfColour();
|
auto sc = self.SurfColour();
|
||||||
return py::tuple(sc[0], sc[1], sc[2]);
|
return py::make_tuple(sc[0], sc[1], sc[2]);
|
||||||
},
|
},
|
||||||
[](FaceDescriptor& self, py::tuple col)
|
[](FaceDescriptor& self, py::tuple col)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user