fixed the bug were the first object created was translated back to the

origin
This commit is contained in:
nicola.candussi
2008-09-24 12:40:15 +00:00
parent 752eb583d0
commit e0d1c1d057
4 changed files with 16 additions and 8 deletions

View File

@@ -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;