Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-11-13 18:21:55 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-11-13 18:21:55 +0400
commitd94b2efbb96316a0b645fe8970c551b2d73e42dc (patch)
tree107f570f7783ebd2a10e49496e85173b3a8aa961 /source/blender/blenkernel/intern/colortools.c
parent054c6159de84e2c7adf55de6ab6e20c005b7cf63 (diff)
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()
Diffstat (limited to 'source/blender/blenkernel/intern/colortools.c')
-rw-r--r--source/blender/blenkernel/intern/colortools.c5
1 files changed, 3 insertions, 2 deletions
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;