CurvePaths: if the path has vector handles, or when it's a Poly curve, the
amount of interpolated points on the path was too limited (6 actually).
Now the 'resolu' of the curve defines the amount of interpolated points.
This enables motionpaths or deforming with sharp corners.
else tot= bl->nr-1;
path->len= tot+1;
- /* exception: vector handle paths and polygon paths should be subdivided at least a factor 6 (or more?) */
- if(path->len<6*nu->pntsu) path->len= 6*nu->pntsu;
+ /* exception: vector handle paths and polygon paths should be subdivided at least a factor resolu */
+ if(path->len<nu->resolu*nu->pntsu) path->len= nu->resolu*nu->pntsu;
dist= (float *)MEM_mallocN((tot+1)*4, "calcpathdist");