Merge branch 'blender-v3.4-release'
This commit is contained in:
commit
abbbf9f002
|
@ -344,6 +344,9 @@ static void make_recursive_duplis(const DupliContext *ctx,
|
|||
ctx->instance_stack->append(ob);
|
||||
rctx.gen->make_duplis(&rctx);
|
||||
ctx->instance_stack->remove_last();
|
||||
if (!ctx->dupli_gen_type_stack->is_empty()) {
|
||||
ctx->dupli_gen_type_stack->remove_last();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -388,6 +391,9 @@ static void make_child_duplis(const DupliContext *ctx,
|
|||
ob->flag |= OB_DONE; /* Doesn't render. */
|
||||
}
|
||||
make_child_duplis_cb(&pctx, userdata, ob);
|
||||
if (!ctx->dupli_gen_type_stack->is_empty()) {
|
||||
ctx->dupli_gen_type_stack->remove_last();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -413,6 +419,9 @@ static void make_child_duplis(const DupliContext *ctx,
|
|||
}
|
||||
|
||||
make_child_duplis_cb(&pctx, userdata, ob);
|
||||
if (!ctx->dupli_gen_type_stack->is_empty()) {
|
||||
ctx->dupli_gen_type_stack->remove_last();
|
||||
}
|
||||
}
|
||||
}
|
||||
persistent_dupli_id++;
|
||||
|
|
Loading…
Reference in New Issue