mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-09-03 00:48:32 +00:00
fixed the bug were the first object created was translated back to the
origin
This commit is contained in:
@@ -120,6 +120,11 @@ dSolverCmd::redoIt()
|
||||
m_dgModifier->connect(plgOutTime, plgInTime);
|
||||
m_dgModifier->doIt();
|
||||
}
|
||||
//force update of the solver on creation
|
||||
MPlug plgRigidBodies(dSolverObj, dSolverNode::oa_rigidBodies);
|
||||
bool update;
|
||||
plgRigidBodies.getValue(update);
|
||||
|
||||
setResult(MFnDependencyNode(dSolverObj).name());
|
||||
|
||||
return stat;
|
||||
|
||||
Reference in New Issue
Block a user