aboutsummaryrefslogtreecommitdiff
path: root/graphics/partio/files/patch-src_py_partio.i
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/partio/files/patch-src_py_partio.i')
-rw-r--r--graphics/partio/files/patch-src_py_partio.i13
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/partio/files/patch-src_py_partio.i b/graphics/partio/files/patch-src_py_partio.i
new file mode 100644
index 000000000000..d26257b1b007
--- /dev/null
+++ b/graphics/partio/files/patch-src_py_partio.i
@@ -0,0 +1,13 @@
+--- src/py/partio.i.orig 2025-01-28 22:44:08 UTC
++++ src/py/partio.i
+@@ -638,7 +638,9 @@ ParticlesDataMutable* cloneSchema(const ParticlesData&
+
+ %feature("autodoc");
+ %feature("docstring","Clone a particle set");
+-ParticlesDataMutable* clone(const ParticlesData& other, bool particles, const std::map<std::string, std::string>* attrNameMap=nullptr);
++ParticlesDataMutable* clone(const ParticlesData& other, bool particles=true, const std::map<std::string, std::string>* attrNameMap=nullptr);
++
++%typedef std::map<std::string, std::string> _dummy; /* https://github.com/wdas/partio/issues/114 */
+
+ %feature("autodoc");
+ %feature("docstring","Return string name of given attribute type");