mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Merge branch 'blender-v3.0-release'
This commit is contained in:
commit
a356e4fb3f
1 changed files with 4 additions and 0 deletions
|
|
@ -166,6 +166,10 @@ static void copy_dupli_context(
|
|||
r_ctx->persistent_id[r_ctx->level] = index;
|
||||
++r_ctx->level;
|
||||
|
||||
if (r_ctx->level == MAX_DUPLI_RECUR - 1) {
|
||||
std::cerr << "Warning: Maximum instance recursion level reached.\n";
|
||||
}
|
||||
|
||||
r_ctx->gen = get_dupli_generator(r_ctx);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue