diff options
author | Joseph Eagar <joeedh@gmail.com> | 2011-03-30 05:36:42 +0400 |
---|---|---|
committer | Joseph Eagar <joeedh@gmail.com> | 2011-03-30 05:36:42 +0400 |
commit | f4a2008441cf6caaf58b9768b99373b014a0a619 (patch) | |
tree | 7f6787136b509b715bbf2ae9fddbf84368736f49 /source/blender/blenkernel/intern/multires.c | |
parent | 436dc5744041aaf637117c3f6d15084d06104f62 (diff) |
=bmesh=
Multires interpolation is now nearly perfect, but has some
issues on faces whose angle to each other isn't relatively
shallow (probably need to use some sort of fast spatial structure
to more accurately project multires points).
It also doesn't work super well with bevel (mostly due to a
flipped normals bug in bevel I need to get around to fixing).
And, for some reason extrude tends to explode the multires
geometry (it should just be copying it).
Since edge cut doesn't do anything yet with face interpolation,
cuts that arn't exactly centered will move the underlying multires
geometry around a bit..
Diffstat (limited to 'source/blender/blenkernel/intern/multires.c')
-rw-r--r-- | source/blender/blenkernel/intern/multires.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/multires.c b/source/blender/blenkernel/intern/multires.c index 47106a50543..5714ec2f66d 100644 --- a/source/blender/blenkernel/intern/multires.c +++ b/source/blender/blenkernel/intern/multires.c @@ -1116,7 +1116,7 @@ void old_mdisps_bilinear(float out[3], float (*disps)[3], const int st, float u, float urat, vrat, uopp; float d[4][3], d2[2][3]; - if (!disps) + if (!disps || isnan(u) || isnan(v)) return; if(u < 0) |