Skip to content

Commit

Permalink
Fix license check for free version
Browse files Browse the repository at this point in the history
  • Loading branch information
epernod committed Sep 20, 2024
1 parent 1ade54e commit be60ab0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Plugins/SofaUnityAPI/SofaContextAPI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public SofaContextAPI(bool async)

// Create a simulation scene.
int res = sofaPhysicsAPI_createScene(m_native);
if (res == 0)
if (res == 0 || res == 100)
{
m_isReady = true;
}
Expand Down

0 comments on commit be60ab0

Please sign in to comment.