mirror of
https://github.com/NGSolve/netgen.git
synced 2026-05-31 01:06:10 +08:00
return alpha value of facedescriptor color
This commit is contained in:
@@ -668,7 +668,7 @@ DLL_HEADER void ExportNetgenMeshing(py::module &m)
|
||||
[](const FaceDescriptor& self)
|
||||
{
|
||||
auto sc = self.SurfColour();
|
||||
return py::make_tuple(sc[0], sc[1], sc[2]);
|
||||
return py::make_tuple(sc[0], sc[1], sc[2], sc[3]);
|
||||
},
|
||||
[](FaceDescriptor& self, py::tuple col)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user