Closed mitch-galea closed 3 weeks ago
Hello,
When trying to embed a spherical image into an e57 file. I noticed that the BlobNode is not supported by StructureNode.set method.
The culprit was libe57_wrapper.cpp in the following lines:
libe57_wrapper.cpp
cls_StructureNode.def("set", [](StructureNode &node, const std::string &pathName, StructureNode &n){ node.set(pathName, n); }, "pathName"_a, "n"_a); cls_StructureNode.def("set", [](StructureNode &node, const std::string &pathName, VectorNode &n){ node.set(pathName, n); }, "pathName"_a, "n"_a); cls_StructureNode.def("set", [](StructureNode &node, const std::string &pathName, CompressedVectorNode &n){ node.set(pathName, n); }, "pathName"_a, "n"_a); cls_StructureNode.def("set", [](StructureNode &node, const std::string &pathName, IntegerNode &n){ node.set(pathName, n); }, "pathName"_a, "n"_a); cls_StructureNode.def("set", [](StructureNode &node, const std::string &pathName, ScaledIntegerNode &n){ node.set(pathName, n); }, "pathName"_a, "n"_a); cls_StructureNode.def("set", [](StructureNode &node, const std::string &pathName, FloatNode &n){ node.set(pathName, n); }, "pathName"_a, "n"_a); cls_StructureNode.def("set", [](StructureNode &node, const std::string &pathName, StringNode &n){ node.set(pathName, n); }, "pathName"_a, "n"_a);
as can be seen there is no implementation for BlobNode. I tested adding a BlobNode implementation and rebuilded and this worked
closed by #59
Hello,
When trying to embed a spherical image into an e57 file. I noticed that the BlobNode is not supported by StructureNode.set method.
The culprit was
libe57_wrapper.cpp
in the following lines:as can be seen there is no implementation for BlobNode. I tested adding a BlobNode implementation and rebuilded and this worked