reroot to rigtransform::prepareData old path to rig::buildvertexinfluence
This commit is contained in:
@@ -118,11 +118,6 @@ void RigGeometry::computeMatrixFromRootSkeleton()
|
||||
|
||||
void RigGeometry::update()
|
||||
{
|
||||
if (!getRigTransformImplementation())
|
||||
{
|
||||
_rigTransformImplementation = new RigTransformSoftware;
|
||||
}
|
||||
|
||||
RigTransform& implementation = *getRigTransformImplementation();
|
||||
(implementation)(*this);
|
||||
}
|
||||
|
||||
@@ -600,7 +600,7 @@ bool RigTransformHardware::init(RigGeometry& geom)
|
||||
void RigTransformHardware::operator()(RigGeometry& geom)
|
||||
{
|
||||
if (_needInit)
|
||||
if (!init(geom))
|
||||
if (!prepareData(geom))
|
||||
return;
|
||||
computeMatrixPaletteUniform(geom.getMatrixFromSkeletonToGeometry(), geom.getInvMatrixFromSkeletonToGeometry());
|
||||
}
|
||||
|
||||
@@ -256,7 +256,7 @@ bool RigTransformSoftware::prepareData(RigGeometry&rig) {
|
||||
void RigTransformSoftware::operator()(RigGeometry& geom)
|
||||
{
|
||||
if (_needInit)
|
||||
if (!init(geom))
|
||||
if (!prepareData(geom))
|
||||
return;
|
||||
|
||||
if (!geom.getSourceGeometry()) {
|
||||
|
||||
Reference in New Issue
Block a user