Fix T82205: Curve Hooks not working
Caused by my own cleanup commit rBa308607a5334. Just a simple copy-paste error. Here the difference between `curve` and `editnurb` makes quite a bit of difference.
This commit is contained in:
parent
d35cd32d56
commit
81a0fffb2d
Notes:
blender-bot
2023-02-14 06:54:28 +01:00
Referenced by issue #82205, Curve Hooks not working
|
@ -1131,7 +1131,7 @@ static int *init_index_map(Object *obedit, int *r_old_totvert)
|
|||
}
|
||||
|
||||
int vertex_index = 0;
|
||||
LISTBASE_FOREACH (Nurb *, nu, &curve->nurb) {
|
||||
LISTBASE_FOREACH (Nurb *, nu, &editnurb->nurbs) {
|
||||
if (nu->bezt) {
|
||||
BezTriple *bezt = nu->bezt;
|
||||
int a = nu->pntsu;
|
||||
|
|
Loading…
Reference in New Issue