Sculpt: Enable original-normal for grab brush

Without this, grabbing with normal weight will continually select new normals
based on where you move the cursor,
causing the normal location to flicker in a way which isn't controllable in any useful way.
This commit is contained in:
Campbell Barton
2016-02-23 05:23:47 +11:00
parent 36e732c89f
commit 1e98435c85

View File

@@ -239,6 +239,12 @@ void BLO_update_defaults_startup_blend(Main *bmain)
if (br) {
BKE_libblock_rename(bmain, &br->id, "Rotate");
}
/* use original normal for grab brush (otherwise flickers with normal weighting). */
br = (Brush *)BKE_libblock_find_name_ex(bmain, ID_BR, "Grab");
if (br) {
br->flag |= BRUSH_ORIGINAL_NORMAL;
}
}
}