From d94b2efbb96316a0b645fe8970c551b2d73e42dc Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 13 Nov 2012 14:21:55 +0000 Subject: disable applying constructive modifiers when in sculpt mode with multi-res data, since this would crash. also rename modifier_sameTopology -> modifier_isSameTopology(), modifier_nonGeometrical -> modifier_isNonGeometrical() --- source/blender/blenkernel/intern/colortools.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/intern/colortools.c') diff --git a/source/blender/blenkernel/intern/colortools.c b/source/blender/blenkernel/intern/colortools.c index a30b0a149fe..529fe07cab3 100644 --- a/source/blender/blenkernel/intern/colortools.c +++ b/source/blender/blenkernel/intern/colortools.c @@ -1149,7 +1149,8 @@ void scopes_update(Scopes *scopes, ImBuf *ibuf, const ColorManagedViewSettings * savedlines += 1; } - /* test for nicer distribution even - non standard, leave it out for a while + /* test for nicer distribution even - non standard, leave it out for a while */ +#if 0 for (x = 0; x < 256; x++) { bin_lum[x] = sqrt (bin_lum[x]); bin_r[x] = sqrt(bin_r[x]); @@ -1157,7 +1158,7 @@ void scopes_update(Scopes *scopes, ImBuf *ibuf, const ColorManagedViewSettings * bin_b[x] = sqrt(bin_b[x]); bin_a[x] = sqrt(bin_a[x]); } - */ +#endif /* convert hist data to float (proportional to max count) */ nl = na = nr = nb = ng = 0; -- cgit v1.2.3