Curves: increase default viewport resolution for curves object

This part has to be refactored soon anyway, because more types
curves have to be drawn for the new Curves object.

For now, 3 is a better default than 2, because that matches the
actual resolution of the curve currently.
This commit is contained in:
Jacques Lucke 2022-03-08 10:36:46 +01:00
parent 4b598739c5
commit 94d2470c41
1 changed files with 1 additions and 1 deletions

View File

@ -340,7 +340,7 @@ bool hair_ensure_procedural_data(Object *object,
HairBatchCache *cache = curves_batch_cache_get(curves);
*r_hair_cache = &cache->hair;
const int steps = 2; /* TODO: don't hard-code? */
const int steps = 3; /* TODO: don't hard-code? */
(*r_hair_cache)->final[subdiv].strands_res = 1 << (steps + subdiv);
/* Refreshed on combing and simulation. */