Fix #111896: Regression: Crash for entering into Armature Edit Mode
Mistake in 0a633a4e07
pointer address (ebone) was passed to `add_element()`
Pull Request: https://projects.blender.org/blender/blender/pulls/111954
This commit is contained in:
committed by
Julian Eisel
parent
02736d28cd
commit
20b3e62e93
@@ -54,7 +54,7 @@ void TreeElementIDArmature::expand_edit_bones() const
|
||||
int a = 0;
|
||||
LISTBASE_FOREACH_INDEX (EditBone *, ebone, arm_.edbo, a) {
|
||||
TreeElement *ten = add_element(
|
||||
&legacy_te_.subtree, &arm_.id, &ebone, &legacy_te_, TSE_EBONE, a);
|
||||
&legacy_te_.subtree, &arm_.id, ebone, &legacy_te_, TSE_EBONE, a);
|
||||
ebone->temp.p = ten;
|
||||
}
|
||||
/* make hierarchy */
|
||||
|
||||
Reference in New Issue
Block a user