Curves: control number of control points in new curves
Previously, the number of control points in a new curve was hardcoded. Differential Revision: https://developer.blender.org/D14857
This commit is contained in:
@@ -3024,5 +3024,15 @@ void blo_do_versions_300(FileData *fd, Library *UNUSED(lib), Main *bmain)
|
||||
}
|
||||
}
|
||||
FOREACH_NODETREE_END;
|
||||
|
||||
/* Initialize brush curves sculpt settings. */
|
||||
LISTBASE_FOREACH (Brush *, brush, &bmain->brushes) {
|
||||
if (brush->ob_mode != OB_MODE_SCULPT_CURVES) {
|
||||
continue;
|
||||
}
|
||||
if (brush->curves_sculpt_settings->points_per_curve == 0) {
|
||||
brush->curves_sculpt_settings->points_per_curve = 8;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user