Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Core/Scripts/SofaContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,9 @@ protected void ReconnectSofaScene()
m_impl.loadScene(m_sceneFileMgr.AbsoluteFilename());
}

// Do not retrieve timestep of gravity in case it has been changed in editor
// This is cause of error. TODO: find a way to not retrieve those values only if they have been changed intentionnaly in the editor
m_timeStep = m_impl.timeStep;
m_gravity = m_impl.getGravity();

// re-create objects after scene loading and before graph reconnection
foreach (SofaBaseObject obj in m_objects)
Expand Down
Loading