From e5d1316dd571874a6212a196dbd9679a23629a92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Cort=C3=A9s?= <36660222+pedrocortesark@users.noreply.github.com> Date: Thu, 10 Oct 2024 09:54:51 +0200 Subject: [PATCH] Added method declaration to allow raw pointers --- src/bindings/bnd_pointcloud.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/bnd_pointcloud.cpp b/src/bindings/bnd_pointcloud.cpp index de270872..eaa51d50 100644 --- a/src/bindings/bnd_pointcloud.cpp +++ b/src/bindings/bnd_pointcloud.cpp @@ -959,7 +959,7 @@ void initPointCloudBindings(void*) .function("getValues", &BND_PointCloud::GetValues) .function("closestPoint", &BND_PointCloud::ClosestPoint) .function("toThreejsJSON", &BND_PointCloud::ToThreejsJSON) - .class_function("createFromThreejsJSON", &BND_PointCloud::CreateFromThreejsJSON) + .class_function("createFromThreejsJSON", &BND_PointCloud::CreateFromThreejsJSON, allow_raw_pointers()) ; } #endif