From 6020994263fb641efb3b3476c8429f1cf247b706 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Fri, 3 Jul 2026 10:00:32 +0200 Subject: [PATCH 1/2] Fix binding according to library changes CURA-13226 --- python/MeshData.sip | 2 +- python/Scene.sip | 4 ++-- python/SceneNode.sip | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/python/MeshData.sip b/python/MeshData.sip index 3beffd7..c508830 100644 --- a/python/MeshData.sip +++ b/python/MeshData.sip @@ -10,7 +10,7 @@ public: MeshData(); virtual ~MeshData(); bytearray getVerticesAsBytes(); - bytearray getFacesAsBytes(); + bytearray getFacesAsBytes() const; bytearray getFlatVerticesAsBytes(); diff --git a/python/Scene.sip b/python/Scene.sip index a2a552c..f00ae10 100644 --- a/python/Scene.sip +++ b/python/Scene.sip @@ -10,7 +10,7 @@ public: Scene(); virtual ~Scene(); - std::vector getSceneNodes(); + const std::vector& getSceneNodes() const; std::vector getAllSceneNodes(); void addSceneNode(SceneNode* node /Transfer/); @@ -21,7 +21,7 @@ public: void setMetaDataEntry(const std::string& key, const std::string& value, const std::string& type); void setMetaDataEntry(const std::string& key, const std::string& value, const std::string& type, const bool preserve); - std::string getUnit(); + const std::string& getUnit() const; void setUnit(std::string unit); }; diff --git a/python/SceneNode.sip b/python/SceneNode.sip index 48c9547..2229f97 100644 --- a/python/SceneNode.sip +++ b/python/SceneNode.sip @@ -10,14 +10,14 @@ public: SceneNode(); virtual ~SceneNode(); - MeshData& getMeshData(); + const MeshData& getMeshData() const; - std::vector getChildren(); + const std::vector& getChildren() const; - std::string getTransformation(); - void setTransformation(std::string); + const std::string& getTransformation() const; + void setTransformation(const std::string&); - std::string getName(); + const std::string& getName() const; void setName(std::string name); int getId(); From 5f372b8f0e95a347d9b45ed2662071825b237582 Mon Sep 17 00:00:00 2001 From: Erwan MATHIEU Date: Fri, 3 Jul 2026 10:03:59 +0200 Subject: [PATCH 2/2] Bump version CURA-13226 --- conandata.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conandata.yml b/conandata.yml index 2450b11..d5c7d03 100644 --- a/conandata.yml +++ b/conandata.yml @@ -1,3 +1,3 @@ -version: "5.11.1-alpha.0" +version: "5.12.0" requirements: - - "savitar/5.11.0-alpha.0" + - "savitar/5.12.0"