From a06189ac4e171b2807efbeeb40df34483193ab58 Mon Sep 17 00:00:00 2001 From: Matthias Hochsteger Date: Tue, 10 Dec 2019 17:57:20 +0100 Subject: [PATCH] Redraw after geom2d::Draw() --- libsrc/geom2d/python_geom2d.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libsrc/geom2d/python_geom2d.cpp b/libsrc/geom2d/python_geom2d.cpp index e8bff0b7..a890579b 100644 --- a/libsrc/geom2d/python_geom2d.cpp +++ b/libsrc/geom2d/python_geom2d.cpp @@ -367,6 +367,7 @@ DLL_HEADER void ExportGeom2d(py::module &m) ([] (shared_ptr self) { ng_geometry = self; + py::module::import("netgen").attr("Redraw")(); }) )