Patch by Jose Geraldo Brito
Tracker 31061 It cures the stiff quad option and does not seem to harm. Nowever the stiff quads behave strange in a ngom mesh. I can imagine that other parts in the sofybody module may be broken by the ngon structure. Well ngons and softbodies are not relly friends: negon wants less edges softbodies would work better if more structural edges were possible
This commit is contained in:
@@ -78,6 +78,7 @@ variables on the UI for now
|
||||
#include "BKE_DerivedMesh.h"
|
||||
#include "BKE_pointcache.h"
|
||||
#include "BKE_deform.h"
|
||||
#include "BKE_mesh.h"
|
||||
//XXX #include "BIF_editdeform.h"
|
||||
//XXX #include "BIF_graphics.h"
|
||||
#include "PIL_time.h"
|
||||
@@ -3267,6 +3268,7 @@ static void mesh_to_softbody(Scene *scene, Object *ob)
|
||||
BodyPoint *bp;
|
||||
BodySpring *bs;
|
||||
int a, totedge;
|
||||
BKE_mesh_tessface_ensure(me);
|
||||
if (ob->softflag & OB_SB_EDGES) totedge= me->totedge;
|
||||
else totedge= 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user