From 3bab829949e7efed539a80c69bf92065e13741a3 Mon Sep 17 00:00:00 2001 From: Jean-Nicolas Brunet Date: Tue, 26 Jan 2021 13:46:10 +0100 Subject: [PATCH] [Plugin] Change the initialization order of the Prefab Signed-off-by: Jean-Nicolas Brunet --- Plugin/src/SofaPython3/Prefab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin/src/SofaPython3/Prefab.cpp b/Plugin/src/SofaPython3/Prefab.cpp index e2178bb8..f9d37a6c 100644 --- a/Plugin/src/SofaPython3/Prefab.cpp +++ b/Plugin/src/SofaPython3/Prefab.cpp @@ -43,9 +43,9 @@ using sofa::core::objectmodel::Event; void Prefab::init() { - reinit(); Inherit1::init(sofa::core::ExecParams::defaultInstance()); m_is_initialized = true; + reinit(); } void PrefabFileEventListener::fileHasChanged(const std::string &filename)