Base: fixes #8902: Segfault from Part WB functionality in python scripting (#8927)

This commit is contained in:
wwmayer
2023-03-17 22:50:30 +01:00
committed by GitHub
parent 775332e535
commit 3c98b09128
2 changed files with 13 additions and 4 deletions

View File

@@ -219,6 +219,8 @@ normal : Base.Vector</UserDocu>
:PyObjectBase(new Vector3d(vec.x,vec.y,vec.z),T){}
Vector3d value() const
{ return *(getVectorPtr()); }
private:
Py::List sequence;
</ClassDeclarations>
</PythonExport>
</GenerateModel>