Fix T72375: Crash when using spin tool
The original geometry referenced in `vtable` was deleted by the `extrude_face_region` operator. It is read soon after, so don't delete the original geometry (param `use_keep_orig`). This may have a small impact on performance.
This commit is contained in:
parent
2f1d3ba6da
commit
744a58918a
Notes:
blender-bot
2023-04-14 09:18:04 +02:00
Referenced by issue #72375, Crash when using spin tool Referenced by issue #59475, Scratch on the spin button
|
@ -543,9 +543,14 @@ void bmo_spin_exec(BMesh *bm, BMOperator *op)
|
|||
BMO_op_initf(bm,
|
||||
&extop,
|
||||
op->flag,
|
||||
"extrude_face_region geom=%S use_normal_flip=%b use_normal_from_adjacent=%b",
|
||||
"extrude_face_region "
|
||||
"geom=%S "
|
||||
"use_keep_orig=%b "
|
||||
"use_normal_flip=%b "
|
||||
"use_normal_from_adjacent=%b",
|
||||
op,
|
||||
"geom_last.out",
|
||||
use_merge,
|
||||
use_normal_flip && (a == 0),
|
||||
(a != 0));
|
||||
BMO_op_exec(bm, &extop);
|
||||
|
|
Loading…
Reference in New Issue