Skip to content

Commit 4b33f6d

Browse files
committed
Fix componentState
1 parent 8d789ed commit 4b33f6d

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
@@ -58,7 +58,7 @@ void Prefab::reinit()
5858
std::cout << "VisualInitVisitor" << std::endl;
5959
execute<VisualInitVisitor>(nullptr);
6060

61-
m_componentstate = sofa::core::objectmodel::ComponentState::Valid;
61+
d_componentState.setValue(sofa::core::objectmodel::ComponentState::Valid);
6262
}
6363

6464
void Prefab::doReInit()

0 commit comments

Comments
 (0)