Skip to content

Commit 9409adc

Browse files
authored
[Plugin] Change the initialization order of the Prefab (#105)
1 parent c89affa commit 9409adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Plugin/src/SofaPython3/Prefab.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ using sofa::core::objectmodel::Event;
4343

4444
void Prefab::init()
4545
{
46-
reinit();
4746
Inherit1::init(sofa::core::ExecParams::defaultInstance());
4847
m_is_initialized = true;
48+
reinit();
4949
}
5050

5151
void PrefabFileEventListener::fileHasChanged(const std::string &filename)

0 commit comments

Comments
 (0)