This commit is contained in:
Campbell Barton 2014-08-15 19:59:31 +10:00
parent 01c5a65f7b
commit b6df448176
Notes: blender-bot 2023-02-14 10:12:59 +01:00
Referenced by issue #41467, Modifier view buttons changing positions
Referenced by issue #41458, Proportional Editing O key shortcuts bug/deceptive?
2 changed files with 2 additions and 2 deletions

View File

@ -251,7 +251,7 @@ void IDP_ResizeArray(IDProperty *prop, int newlen)
* The growth pattern is: 0, 4, 8, 16, 25, 35, 46, 58, 72, 88, ...
*/
newsize = newlen;
newsize = (newsize >> 3) + (newsize < 9 ? 3 : 6) + newsize;\
newsize = (newsize >> 3) + (newsize < 9 ? 3 : 6) + newsize;
if (is_grow == false)
idp_resize_group_array(prop, newlen, prop->data.pointer);

View File

@ -561,7 +561,7 @@ Scene *BKE_scene_add(Main *bmain, const char *name)
sce->toolsettings->proportional_size = 1.0f;
sce->toolsettings->imapaint.paint.flags |= PAINT_SHOW_BRUSH;\
sce->toolsettings->imapaint.paint.flags |= PAINT_SHOW_BRUSH;
sce->toolsettings->imapaint.normal_angle = 80;
sce->toolsettings->imapaint.seam_bleed = 2;