diff --git a/wrap/miq/stiffening.h b/wrap/miq/stiffening.h index 3beb7276..e7df66a7 100644 --- a/wrap/miq/stiffening.h +++ b/wrap/miq/stiffening.h @@ -154,6 +154,8 @@ public: bool hasStiffness = vcg::tri::HasPerFaceAttribute(mesh,std::string("Stiffness")); if(!hasStiffness) Handle_Stiffness=vcg::tri::Allocator::template AddPerFaceAttribute(mesh,std::string("Stiffness")); + else + Handle_Stiffness=vcg::tri::Allocator::template GetPerFaceAttribute(mesh,std::string("Stiffness")); for(unsigned int i=0;i