From efe288149cd64007603d83068309b3cb70e822f4 Mon Sep 17 00:00:00 2001 From: Lucas Heitzmann Gabrielli Date: Sat, 31 Aug 2024 15:55:58 -0300 Subject: [PATCH] Fix for new RaithData object creation Signed-off-by: Lucas Heitzmann Gabrielli --- python/flexpath_object.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/python/flexpath_object.cpp b/python/flexpath_object.cpp index 90c45425..6c7eddd5 100644 --- a/python/flexpath_object.cpp +++ b/python/flexpath_object.cpp @@ -2297,6 +2297,7 @@ int flexpath_object_set_repetition(FlexPathObject* self, PyObject* arg, void*) { static PyObject* flexpath_object_get_raith_data(FlexPathObject* self, void*) { RaithDataObject* obj = PyObject_New(RaithDataObject, &raithdata_object_type); obj = (RaithDataObject*)PyObject_Init((PyObject*)obj, &raithdata_object_type); + obj->raith_data.base_cell_name = NULL; obj->raith_data.copy_from(self->flexpath->raith_data); return (PyObject*)obj; }