RigidMapping: fixed setRepartition backward compatibility
RigidMapping: fixed setRepartition backward compatibility

(cherry picked from commit 863eff2b3003119bbca127cc4f20d5b50c8f5ad8)

FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa,FabienPean/sofa