Comment 6 for bug 1740952

Revision history for this message
Seth Hillbrand (sethh) wrote :

Attached is a patch to fully address this error.

The issue arose because we were trying to store the tree state including the currently selected part while renaming. The node was freed after renaming, so dereferencing the LIB_ID caused the segfault.

The solution in this patch is to select the parent library if the selected part is being renamed. Then we re-select the newly renamed part. If the selected part is not being renamed, this patch should do nothing.