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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user